This repository contains several Python scripts, written for ESP32 boards running MicroPython.
esp32_hello.py writes "Hello, World!" to the onboard OLED. Not much to look at, just a first program to learn about the tools and board.
web_server.py hosts a WiFi access point and simple web server that responds to a few GET requests. Get /LED/on
to turn on the built-in LED, and get /LED/off
to turn it off.
scan-n-show.py scans for WiFi networks and displays them on the OLED display.
TODO: Add a write-able characteristic to set built-in LED on/off.
ble_server.py hosts a BLE server that advertises an attribute with a read/write characteristic. Use nRF Connect or similar app to connect and read the characteristic.
To get started, clone this repository and open it in your favorite IDE. Create and/or activate a virtual environment, then run ./script/bootstrap.sh to install required packages.
get_started.md describes where to download MicroPython and how to install it on a board and begin using it. See docs/boards.md for notes about different boards.
TODO: What about :hwconfig.py? TODO: And what else?
Contributions are welcome! Please phrase feedback and suggestions as issues or pull requests :bow:
This project is licensed under the MIT License - see the LICENSE.md file for details.