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

Troubleshooting • Re: Why I am getting error "device is disconnected or multiple access on port"?

$
0
0
Try moving the two lines port=... and ser=... outside the while loop i.e. before the while True: line.
The serial port only needs to be defined once.

Statistics: Posted by neilgl — Mon Apr 29, 2024 10:15 am



Viewing all articles
Browse latest Browse all 5359

Trending Articles