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

Python • Re: KeyboardInterrupt return error with serialposix.py

$
0
0
MASTER.py

Code:

try:    LDR_only()except KeyboardInterrupt:    print("\nYou hit CTRL+C, Bye bye!")

Statistics: Posted by memjr — Fri Dec 06, 2024 3:22 pm



Viewing all articles
Browse latest Browse all 1234

Trending Articles