-
Hello to all,
Node serialport program:
So the problem is that node program prints:
but it should be printing 1, 2, 3 Thanks a lot! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
I will answer to my self! I didn't read the docs well (https://nodejs.org/api/buffer.html#bufreaddoublebeoffset)!
|
Beta Was this translation helpful? Give feedback.
I will answer to my self! I didn't read the docs well (https://nodejs.org/api/buffer.html#bufreaddoublebeoffset)!
i need to pass the number of bytes to skip to readDoubleLE, so the code must be: