![]() ![]() You can see the end of one read before the pattern starts and you can see text - "ADC Range: /- 6.144V (1 bit = 3mV)" - printed during void setup() of the Arduino sketch coming through immediately after the pattern and then the serial data starts coming through from void loop(). I have abbreviated the \x00 sequence as it is repeated a hundred times or more. #fname = '/home/pi/datalogs/serialLog2.txt' import serialįname = '/home/pi/datalogs/serialLog_UNIX' start '.txt' I have added code that waits for the buffer to be empty before logging begins but this only works sporadically. Whenever I initiate the logging program I get a bunch of garbage characters before the real data starts to come through. ![]() I have a Pi B reading serial data over USB from an Arduino. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |