This is a simple repository to store code for the ESP32 micro controller
TIP: The ESP32 is a powerful microcontroller that can be used for many different projects. It has built in WiFi and Bluetooth capabilities, making it ideal for IoT projects. This repository will contain code examples and projects that can be used with the ESP32.
The esp32 that I am using is the ESP32 DevKitC V2. Make sure to check the version of your board before running the code.
-
To get started with the ESP32, you will need to install the Arduino IDE and the ESP32 board support package. You can find instructions on how to do this on the Random Nerd Tutorials website
-
To check out the projects in this repository, go to the
projects
folder and open the project in the Arduino IDE. You can then upload the code to the ESP32 and see the results.
- To upload code to the ESP32, you will need to connect the board to your computer using a USB cable. Then, open the Arduino IDE and select the correct board and port in the
Tools
menu. Finally, click the upload button to upload the code to the board.
- To easy convert HTML lines to C++ strings, you can use the
convert-html-to-esp32
Node.js script at the root of this repository. Edit theindex.html
file and run the script withnode convert-html-to-esp32.js
to get the C++ string
TIP: You need to have Node.js installed on your computer to run the script. You could also run the script with
npx
if you don't want to install Node.js globally or use other tools such asnodemon
to run the script automatically when the file changes