mirror of
https://github.com/paperdash/device-epd.git
synced 2024-11-13 19:12:00 +00:00
27 lines
498 B
Markdown
27 lines
498 B
Markdown
# paperdash-display
|
|
|
|
## compile and upload new firmware
|
|
```properties
|
|
platformio run --target upload
|
|
```
|
|
|
|
## app development
|
|
```properties
|
|
# build new dist files
|
|
yarn --cwd app build
|
|
|
|
# upload to device filesystem
|
|
platformio run --target uploadfs
|
|
|
|
# send a picture to display over json
|
|
curl -F 'myImage=@blackPNG.png' http://192.168.178.62/api/face
|
|
|
|
# erase flash memory
|
|
pio run --target erase
|
|
```
|
|
|
|
## access fs over http
|
|
|
|
> get photos from calendar face
|
|
http://192.168.178.65/fs/calendarPhoto.png
|