Raspberry Pi Pico Wont Run Main.py FIXED!

My Raspberry Pi Pico wont run main.py OLED programs when on battery/USB power-adding a sleep fixes it up!
Check out PCBWay http://pcbway.com
Subscribe to my OTHER channel for more videos! https://www.youtube.com/channel/UCTUoaahtQ3eIBtUvwaE2ixw/featured
Become a channel member! https://www.youtube.com/channel/UCTo55-kBvyy5Y1X_DTgrTOQ/join
Join the Patreon Squad! http://mkme.org/Patreon
Buy one of my project kits and support the channel here: https://store.mkme.org/?product_cat=custom

Here is my Raspberry Pi Pico code and files https://github.com/MKme/raspberrypi/tree/main/Pico In the repo you will find my fix for the raspberry pi pico wont run main.py on battery power. This shows up as the Pi Pico won’t start/run code. Its an easy fix by giving the board a bit of time to initialize the OLED. I think this may be a current problem in micropython but could be related to my specific boards.

Either way- enjoy the fix!
➡️Handy dandy links!⬅️

Private Internet Access VPN (What I use) ➢ https://www.privateinternetaccess.com/pages/buy-vpn/mkme
Shop Amazon US ➢http://mkme.org/AmazonUS
Shop Amazon CAN ➢http://mkme.org/AmazonCA
Shop Amazon UK ➢http://mkme.org/AmazonUK
Shop eBay ➢http://mkme.org/ebay
Gear I use in these videos➢ http://mkme.org/Gear
Shop my MKME.org Store ➢http://store.mkme.org
Shop Bangood➢http://mkme.org/banggood
Shop Gearbest➢ http://mkme.org/gearbest
Grab a cool Maker T-Shirt: http://mkme.org/merch

➡️Get Social with Me!⬅️
Join the MKME Discord live chat here: https://discord.gg/j9S4Fgv
Twitter ➢ http://twitter.com/MKmeOrg
Instagram ➢ https://instagram.com/mkmeorg/
Facebook ➢http://www.facebook.com/EricWilliam13

➡️My Websites and Related:⬅️
Main Site ➢ http://mkme.org
Blog ➢ http://blog.mkme.org
MKME.org Facebook Page ➢ http://goo.gl/aXg29
Alternative site to see my videos: https://odysee.com/@mkmeorg
Sweet Tunes often from NCS: https://www.youtube.com/user/NoCopyrightSounds
And Audio Library Plus: https://www.youtube.com/channel/UCgOuNHmnIVxiPJYBZwhbeeA
Thanks for Subscribing!


403 thoughts on “Raspberry Pi Pico Wont Run Main.py FIXED!

Leave a Reply

Your email address will not be published. Required fields are marked *