Hi!
I'm a newbie using Node-RED and I'm having some issues when I try to send messages in HEX. This is the conversion table that I need:

I have a setup with 4 stepper motors and I'm connecting through bluetooth. My idea is to controll the motors with Node-RED. The first test that I made was using my cellphone and it worked with the following "setup".
What I need to do is to send this messages with Node-RED, but I'm having trouble converting it. What's the easiest way to do it? Using a msg.payload (buffer) as
"["254","254","254","254","254","254","254","254"]" that's my answer.
buffer[8]raw
0: 0xfe
1: 0xfe
2: 0xfe
3: 0xfe
4: 0xfe
5: 0xfe
6: 0xfe
7: 0xfe
Using this function I managed to send a Buffer [5] with the return of 01 FE, but it doesn't work.
msg.payload = Buffer("01 FE");
Buffer.toString('hex');
return msg;
Thanks in advance!

