https://github.com/unicodex/template-micropython-web-interface
This is a template for a web interface running on a microcontroller.
https://github.com/unicodex/template-micropython-web-interface
Last synced: 5 months ago
JSON representation
This is a template for a web interface running on a microcontroller.
- Host: GitHub
- URL: https://github.com/unicodex/template-micropython-web-interface
- Owner: UNIcodeX
- Created: 2019-11-20T20:14:14.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2019-11-20T20:34:07.000Z (about 6 years ago)
- Last Synced: 2025-04-03T03:31:35.688Z (11 months ago)
- Language: Python
- Size: 70.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Template-Micropython-Web-Interface
This is a template for running an asynchronous web interface on a microcontroller running Micropython. May also work on CircuitPython (untested).
There are examples for:
- scheduling / running an asynchronous coroutine. The example periodically frees RAM.
- Serving a main page at `/` which
- uses Javascript to update current amount of free RAM,
- and provides a button to toggle the state of a pin.
- Serving static as well as on-the-fly JSON data at `/json/`, `/toggle_2/`, and `/free_mem/`.
Screenshot
---
