Feb-15-2017, 06:43 AM
(Feb-14-2017, 04:46 PM)nilamo Wrote: Threads merged. Those of us that are here to help, check all the boards. There's no reason to post in more than one place.With this line of code:
Anyway, how are you reading data? Don't most interfaces just block until there's something to read?
while true:
s = serialport.readline()
which is run on the pi with the python script. A serial connection is between the pi and a desktop. As I type characters on the terminal (Putty) on the desktop, there should be an interrupt to say data is ready or a flag maybe. I dont want always listen to the serial port (Polling).