Hi, I bought your course to get started programing with MicroPython. I want to know if I can use my ESP32 for MicroPython by programing it via uPyCraft IDE and then go back to programing it with the Arduino IDE or is it recommended to have 2 ESP32s, 1 for each programming environment?
Hi Gloria.
You can program the same ESP32 in different ways.
If you have micropython flashed on an ESP32, and then you want to program it using Arduino IDE, you just have to upload an Arduino sketch to your board, It is that simple.
Then, if you want to go to MicroPython again, you need to flash the firmware first.
In summary, if you want to use Arduino IDE, you just need to upload a code.
If you want to use micropython, the board needs to have the firmware flashed.
If you want to erase flash between those methods, use the following command with esptool.py:
esptool.py --chip esp32 erase_flash
Regards,
Sara 🙂