1. jalankan software arduino IDE, pilih file - > preference
2. masukkan url ini : https://dl.espressif.com/dl/package_esp32_index.json di dalam kolom “Additional Board Manager URLs” . Kemudian klik “OK”
jika sudah ada board esp8266, kasih koma setelahnya. contoh seperti dibawah ini:
https://dl.espressif.com/dl/package_esp32_index.json, http://arduino.esp8266.com/stable/package_esp8266com_index.json
3. klik tools -> board -> board manager
finish
catatan buat esp32
saat upload sketch muncul pesan error : “A fatal error occurred: Failed to connect to ESP32: Timed out… Connecting…“.
saat upload sketch muncul pesan error : “A fatal error occurred: Failed to connect to ESP32: Timed out… Connecting…“.
itu artinya esp32 tidak pada mode flashing / uploading
caranya biar gk error ada 2 cara :
1. tekan boot pada esp 32 saat uploading dan di software muncul connecting............
2. memasang kapasitor 10uf antara pin EN dan pin GND
selamat mencoba