Do we have a serial library in python9/28/2023 However the used code results in scattered data read, and therefore shows the following results: buffer= b'')+1:] # leave the rest in buffer I tried to sniff the data on the port, and got sure that the data gets written fully without any scattering: jpnevulator -ascii -tty "/dev/ttyACM1" -read I'm trying to read a JSON string written to serial port, using the following code based on PySerial library: while True:
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |