main.py does'n start...

All ESP8266 boards running MicroPython.
Official boards are the Adafruit Huzzah and Feather boards.
Target audience: MicroPython users with an ESP8266 board.
Post Reply
mcgrun
Posts: 2
Joined: Wed Dec 08, 2021 4:36 pm

main.py does'n start...

Post by mcgrun » Wed Dec 08, 2021 4:41 pm

Hi...

I'm using a WEMOS D1 mini flashed with a fresh v1.17.

Starting my progam in the main.py using an import command fails in starting it after power up. After pressing the RESET button everything works fine. Any suggestions???

Thanx a lot,

chris

User avatar
Roberthh
Posts: 3667
Joined: Sat May 09, 2015 4:13 pm
Location: Rhineland, Europe

Re: main.py does'n start...

Post by Roberthh » Wed Dec 08, 2021 4:45 pm

What does your device perform in boot.py? If boot.py fails, main.py will not run. So maybe there is something in boot.py (or main.py) which needs some time after power on to settle.

mcgrun
Posts: 2
Joined: Wed Dec 08, 2021 4:36 pm

Re: main.py does'n start...

Post by mcgrun » Thu Dec 09, 2021 7:47 am

okay, I will check... thanx!

Post Reply