Example Code for Arduino - Servo (Basic Tutorial)
Hardware Preparation
FireBeetle 2 ESP32-S3 AI Board with OV2640 Camera x 1
Software Preparation
When you use the ESP32 for the first time, you need to know the following steps:
-
Add the ESP32 development board in Arduino IDE (How to add the ESP32 board to Arduino IDE?)
-
Select the development board and serial port
-
Burn the program
Additional Information
The ESP32-S3 PWM can be freely mapped to other ports to output. The sample code below demonstrates the steps for configuring that. The LED will show a fade-in/fade-off effect when everything is set up.
Was this article helpful?
