Replies: 2 comments
-
Firstly your code should be in I would debug this by having |
Beta Was this translation helpful? Give feedback.
0 replies
-
Thank you Peter
I will follow your advice and come back
Frank
Στις Τρί 23 Απρ 2024, 11:46 ο χρήστης Peter Hinch ***@***.***>
έγραψε:
… Firstly your code should be in main.py rather than boot.py. In general
it's best to have your code in a separate file, with main.py simply being
a single line importing your actual code.
I would debug this by having main.py do something really simple like
flashing an LED or toggling a pin. Check that it works at the REPL, then
check it still works when powering from 5V. If it doesn't, I would suspect
a hardware problem. If it does, you can substitute an import of your actual
script in the knowledge that main.py is actually running.
—
Reply to this email directly, view it on GitHub
<#14355 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AI3LP7BUWKKV2GAWDO774R3Y6YNW5AVCNFSM6AAAAABGTIJJ32VHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM4TCOJYGI4TE>
.
You are receiving this because you authored the thread.Message ID:
***@***.***
com>
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
when I connect my esp32 to the USB port my boot.py works and I get a succesful connection to my Access point (192.168.4.1). However when I power the module with anexternal 5V power source I can not get the AP working.
Any help?
Thank you
Beta Was this translation helpful? Give feedback.
All reactions