-
Install Visual Studio Code
-
Install PlatformIO extension from Extensions (CTRL + SHIFT + X)
-
Then set parameters (in
esp32/main_esp32.h or esp8266/main_esp8266.h
):SDA
andSCL
port (default => ESP8266 4, 5 or ESP32 33, 35
) andpin
for button (default => 12
) -
Hold the button (
pin 9
default) and press restart for hotspot to open (default ip should be192.168.4.1
or justsee serial for ip/hostname
) -
Enjoy 🥰
-
set in platformio.ini file for selected board
upload_port
(exampleupload_port=ws1.local
) -
upload... (if it doesn't do it first time try again)