Feb-01-2018, 03:48 PM
Maybe you need to add back in the timeout=1 arg in the serial.Serial() constructor? Otherwise the call to ser.readline() will block (i.e., not return) until data is received (specifically an EOF).
Writing commands to serial
|
|
Messages In This Thread |
Writing commands to serial - by python_beginner - Jan-30-2018, 02:41 PM
RE: Writing commands to serial - by sparkz_alot - Jan-30-2018, 04:04 PM
RE: Writing commands to serial - by DeaD_EyE - Jan-30-2018, 04:25 PM
RE: Writing commands to serial - by cvh - Jun-23-2020, 08:59 PM
RE: Writing commands to serial - by sparkz_alot - Jan-30-2018, 08:29 PM
RE: Writing commands to serial - by python_beginner - Feb-01-2018, 01:19 PM
RE: Writing commands to serial - by dalwood - Feb-01-2018, 03:48 PM
RE: Writing commands to serial - by DeaD_EyE - Feb-02-2018, 10:10 AM
RE: Writing commands to serial - by jambuna35 - Feb-03-2019, 09:03 AM
|
Possibly Related Threads… | |||||
Thread | Author | Replies | Views | Last Post | |
pyserial/serial "has no attribute 'Serial' " | gowb0w | 9 | 4,168 |
Aug-24-2023, 07:56 AM Last Post: gowb0w |
|
Trouble writing over serial | EngineerNeil | 1 | 2,647 |
Apr-07-2019, 08:17 PM Last Post: j.crater |