rename assets/epaper.lua to assets/boot.lua
This commit is contained in:
parent
646f1eaf80
commit
45831590dc
4 changed files with 38 additions and 4 deletions
|
|
@ -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 foo.lua | curl -X POST --data-binary @- 10.0.0.100/draw
|
||||
cat assets/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).
|
||||
|
|
@ -42,5 +42,6 @@ You can stop the monitor by pressing `Ctrl + ]`.
|
|||
- `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
|
||||
- `epaper.lua` contains the sketch that runs at startup
|
||||
- `boot.lua` contains the sketch that runs at startup
|
||||
- `post_test.lua` contains another sketch
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue