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

MicroPython • Re: Pico serial communication via USB

$
0
0
Thank you for your reply.

No, the code I posted runs on the pico. Just be clear, these are the instructions sent from the PC:
1. Send a byte to the pico. The pico reads this correctly and then sends an acknowledgement to the PC.
2. The PC then sends another byte to the pico. This second byte is not read.

I cannot see how to debug the pico code, print statements are of no value in this case.

The same PC code controls an arduino board correctly. If I omit the second write from the PC code, then the PC code will control the pico without any problems.

Statistics: Posted by Dragon12 — Sun Dec 10, 2023 8:39 pm



Viewing all articles
Browse latest Browse all 5260

Trending Articles