• Skip to main content
  • Skip to primary sidebar

RNTLab.com

The Ultimate Shortcut to Learn Electronics and Programming with Open Source Hardware and Software

  • Courses
  • Forum
    • Forum
    • Ask Question
  • Shop
  • Account
  • Blog
  • Login

I’ve resolved a problem I want to share

Q&A Forum › I’ve resolved a problem I want to share
-1 Vote Up Vote Down
Teeluck Darminder asked 4 years ago

I used visual studio code for Arduino, for MicroPython I preferred Upycraft, but to configure it on my PC it was not an easy job. At first msvcr missing100.dll not found on Windows, so what I did, I bought a digital licence key for windows 10. That problem has been resolved. I struggled to download the program from Upycraft to the ESP. When the ESP is connected to the PC it works, but the moment I disconnect it to the PC and connect it to a 5 volt charger it stops working, I have been searching in google to find out where the problem could be. So, I reread your book several times then I realised where was the problem, it was about main.py, and boot.py. When I create a file, I never name it main.py, . I give it a name, as for example “blink.py” not called it “main.py”. After that issue everything is ok now. 

1 Answers
0 Vote Up Vote Down
Sara Santos Staff answered 4 years ago

Hi.

Thank you so much for sharing this.

Some people sometimes report that problem, and I didn’t understand what could be wrong. That’s probably the mistake many people make that I wasn’t aware of.
If you don’t name your files main.py and boot.py, they won’t run by themselves.

Thanks for sharing.
It will definitely help many of our readers.

Let me know if you have more doubts.
Regards,
Sara

Primary Sidebar

Login to Ask or Answer Questions

This Forum is private and it’s only available for members enrolled in our Courses.

Login »

Latest Course Updates

  • [eBook Updated] Learn Raspberry Pi Pico/Pico W with MicroPython eBook – Version 1.2 May 26, 2025
  • [New Edition] Build ESP32-CAM Projects eBook – 2nd Edition April 16, 2025

You must be logged in to view this content.

Contact Support - Refunds - Privacy - Terms - MakerAdvisor.com - Member Login

Copyright © 2013-2025 · RandomNerdTutorials.com · All Rights Reserved

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.