Upload Code

Download the code by clicking this link: Download Code

The downloaded compressed package contains code, flash_download_tool, and driver installation.

  1. Start Arduino IDE Open the sketch: File → Open… → ESP32_Animated_Eyes > Code > ESP32_Animated_Eyes

    _images/C1.png _images/C2.png _images/C3.png
  2. Connect Hardware Use a USB cable to connect the ESP32 DEVKIT V1 board to your computer.

    _images/ESP32%E5%AE%9E%E7%89%A9%E8%BF%9E%E6%8E%A5.png
  3. Select Board Tools → Board → ESP32 → DOIT ESP32 DEVKIT V1

    _images/C4.png
  4. Select Port Tools → Port → (choose the correct COM port) If the COM port does not appear, install the CP2101 driver for Windows.

    _images/C5.png _images/C6.png
  5. Upload

    _images/%E4%B8%8B%E8%BD%BD%E9%94%AE.png

    Click the Upload button to flash the code to your board.

    _images/C7.png