This will prevent lost bytes and dropouts of data. Do some tests to verify the speed of your loop. I found that I was missing bytes or they were getting backed up in the queue in the buffer. Therefore, I advise anyone who is using the method below to assess whether you are reading all the bytes that are being outputted by the Arduino. I found that updating the plot occupied a lot of processing time, which resulted in slower reading of the serial port. NOTES: while I was using Raspberry Pi, I came across an issue between reading the serial port, saving to.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |