main.py

Dear All,

I am a bit confused because i missed a change about the use of main.py or not, i dont know.

i believed to remember if there is not a main.py on sdcard, that is the main.py of c code which is used.
But if i have a sdcard, the main.py of c code is not used.
is it right ?

If it is right, is the best way to create main.py in sdcard c code, and suppress it in main.py ?

Thanks,

If main.py is not found the code waits for input from the user/IDE. If the FS is created on flash it creates the default main.py (blinking LED). The main.py is not created if SD is used. That’s the default code if you want to change something you have to rebuild from source.