Jul-22-2021, 12:54 PM
Thanks guys.
You showed me the problem in my program. Actually 2 problems.
1st, the statement ser = serial.Serial('/dev/ttyS0', should be port = serial.Serial('/dev/ttyS0'.
2nd, I added the statement port = port_open(port) where appropriate.
I have some more fine tuning but that made all of the difference.
Thanks again.
You showed me the problem in my program. Actually 2 problems.
1st, the statement ser = serial.Serial('/dev/ttyS0', should be port = serial.Serial('/dev/ttyS0'.
2nd, I added the statement port = port_open(port) where appropriate.
I have some more fine tuning but that made all of the difference.
Thanks again.