Hi ! I tried to translate C# hex byte array   byte[] header = new byte[] { 
0xFF, 0xFF, 0xAA, 0x55, 0xAA, 0x55, 0x37, 0xBA };  into node .js using 
buffers :
var headerbuffer = new Buffer([0xFF, 0xFF, 0xAA, 0x55, 0xAA, 0x55, 0x37, 
0xBA]); 

 But it doesn't seem to do the job : the robot i send the command to it to 
via Serialport lib does not move
It shouldn't be a serial port problem because i managed "talking" with an 
arduino (not with hex bytes) so i suspect the data format.

Any suggestion ?
(i'm very new into node.js , please assume any horribly newb mistake 
possible)

Thx !

-- 
-- 
Job Board: http://jobs.nodejs.org/
Posting guidelines: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to