SimplESP is a simple and easy-to-use MicroPython library for the ESP32, providing basic interfaces for common components such as LEDs, PWM-controlled LEDs, buttons, and various sensors. This library is designed to be accessible for beginners.
- LED Control: Turn an LED on or off.
- Dimmable LED Control: Set brightness for a LED.
- Button: A button with a callback.
More features coming later
To get started with SimplESP, you'll need:
- An ESP32 board.
- MicroPython firmware installed on your ESP32.
- Python 3.x installed on your computer.
- Required Python packages listed in
requirements.txt
.
-
Clone the repository:
git clone https://github.com/dmk/SimplESP.git cd SimplESP
-
Set up Python environment:
make setup-python
-
Flash MicroPython to the ESP32:
If you haven't already flashed MicroPython onto your ESP32, you can use the following command:
make flash
This will run the
scripts/flash_micropython.sh
script to erase and flash the firmware onto your ESP32. -
Deploy the SimplESP Library:
TBD