Very helpful to know it's hex! So I'm able to get a visible characters now... using [142, 22] I should get millivolts back.
printf (" -> %x\n", serialGetchar (usbport))
What I get is:
Is there some way to format this so I can make sense of it? According to the Roomba OI manual, every data stream should start with 19 (I guess every stream starts with this header) but I don't see one. Should look like
,[n-bytes],[packet ID],[packet data(2 bytes)]
But you see that I get 8 bytes and most of those are redundant. Any clues?