I am a beginner in micropython programming on the ESP8266 microcontroller.
For writing the program I use Thonny IDE
When I run my program from Thonny the microcontroller works fine. When I close the IDE, the microcontroller continues to work normally. However, when I unplug the USB from the PC and plug it back in. Or when I power the microcontroller on an external source, it doesn't work anymore, even if I do a RST.
I have searched on WEB but I can't find a solution to this problem. Can anyone help me? Thank you in advance.