Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 4971

Python • Re: Serial communication between arduino and python pausing when Guizero button pressed

$
0
0
It would be useful to see the Arduino code too, however, do you need to append a newline here?

Code:

ser.write("on".encode('ascii'))
Also, your code sends "on" for on, and "Off" for off. Details matter. Is case important here?

Statistics: Posted by ame — Fri Jan 17, 2025 12:29 am



Viewing all articles
Browse latest Browse all 4971

Trending Articles