Hi body...
I coding in VS Code to blink the LED. Save to test.py file ..
Next, i'm using ampy to run and put the test.py to ESP32
When i using cmd to run the test.py ... The LED Blink ( Image 1 )
But when i using cmd to put the test.py to ESP32 .. The LED no blink ( Image 2 )
So... How can't i fix that.? And how to put the code to ESP32 ??? Thank you
Can not put code to board using ampy
Re: Can not put code to board using ampy
Purtting the script to the baord ios the first step. But then you have to start it, e.g. form the REPL with:
import blink
You should see the file on the devices, if at REPL you enter:
import uos
uos.listdir()
import blink
You should see the file on the devices, if at REPL you enter:
import uos
uos.listdir()
Re: Can not put code to board using ampy
Thank you ..
I find my bad is the .py file must be saved as main.py , not test.py like this