Add index.html with basic documentation

This commit is contained in:
arne 2025-10-06 21:01:12 +02:00
commit 3a78fec456
5 changed files with 173 additions and 10 deletions

View file

@ -10,7 +10,7 @@ You need to give it a 2.4Ghz Wifi SSID and password by adjusting `main/settings.
You can send scripts like this:
``` bash
cat assets/post_test.lua | curl -X POST --data-binary @- 10.0.0.100/draw
cat assets/scripts/post_test.lua | curl -X POST --data-binary @- 10.0.0.100/draw
```
The IP address of the display is logged to its serial output and can be read via `idf.py monitor` (see below).
@ -41,7 +41,9 @@ You can stop the monitor by pressing `Ctrl + ]`.
- `main/`
- `inkpot.c`: Main program containing embedded Lua script and file-based Lua execution.
- `paper.c`: Defines the lua bindings to epdiy that can be used for drawing on the screen.
- `assets/`: Directory containing all Lua scripts; some are older example scripts that are not executed
- `boot.lua` contains the sketch that runs at startup
- `post_test.lua` contains another sketch
- `assets/`
- `http/`: Static assets to be served by the HTTP server
- `scripts/`: Directory containing all Lua scripts; some are older example scripts that are not executed
- `boot.lua` contains the sketch that runs at startup
- `post_test.lua` contains another sketch