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

MicroPython • Re: Detecting PI Pico if powered via USB or GPIO pins

$
0
0
You have redefined 'vbus' from my example to 'vbus_pin', but you're still reading 'vbus' in the if statement. What you have now should raise an exception, since 'vbus' is not defined.

Statistics: Posted by horuable — Mon Jul 15, 2024 6:19 am



Viewing all articles
Browse latest Browse all 8026

Trending Articles