Welcome to the ESP32 LED Blinking project! In this repository, you'll find all the code and resources you need to create a simple yet fundamental example of LED blinking on an ESP32 microcontroller. We've chosen to leverage the power of FreeRTOS and the ESP-IDF IoT framework to make this project as efficient as possible.
- Platform: ESP32 microcontroller.
- Framework: ESP-IDF (Espressif IoT Development Framework).
- Operating System: FreeRTOS.
- Language: C.
To get started with this project, follow these steps:
-
Clone or download this repository: git clone https://github.com/your-username/esp32-led-blink.git
-
Run the
./install.sh
script to download all the necessary dependencies for ESP-IDF. -
Run the
. ./export
command to set up your environment for running IDF.py. -
Configure the build file to target the ESP32 by running: idf.py set-target esp32
-
Build the project by running: idf.py build
-
Flash the compiled code to your ESP32 board using the following command, replacing
(name of your board)
with the appropriate board name: idf.py -p (name of your board) flash -
Monitor the output of your ESP32 by running: idf.py monitor
This will display the log messages and allow you to observe the LED blinking on your ESP32.
Feel free to explore, modify, and learn from this project. Happy coding!