Hey, i have a small python query. I have the following line to get serial input in python from the arduino
print ser.readline()
The problem with this line is that it waits for the arduino to send a serial and will not continue unless it fetches a serial input from the arduino. Is there a function in the python serial to check if there is any serial input present ( something like serial.available() in arduino ) and then only input serial? else just continue doing whatever else the python script is supposed to do?
Thanks a lot..