device-epd/README.md

37 lines
705 B
Markdown
Raw Normal View History

# paperdash-display
2020-11-14 17:35:45 +00:00
## build for deployment
```properties
pio run --environment lolin32
platformio run --target buildfs
```
## 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
2020-05-20 10:52:07 +00:00
curl -F '=@test3.png;filename=dithering' http://192.168.178.62/api/face
# get current picture as bmp
curl http://192.168.178.62/current-image --output current.bmp
# erase flash memory
pio run --target erase
```
## access fs over http
> get photos from calendar face
2020-03-11 20:19:08 +00:00
http://192.168.178.65/fs/calendarPhoto.png