|
|
|
@ -21,10 +21,10 @@ yarn --cwd app build
|
|
|
|
|
platformio run --target uploadfs
|
|
|
|
|
|
|
|
|
|
# send a picture to display over json
|
|
|
|
|
curl -F '=@test3.png;filename=dithering' http://192.168.178.62/api/face
|
|
|
|
|
curl -F '=@test3.png;filename=dithering' http://paperdash-epd/api/device/screen
|
|
|
|
|
|
|
|
|
|
# get current picture as bmp
|
|
|
|
|
curl http://192.168.178.62/current-image --output current.bmp
|
|
|
|
|
curl http://paperdash-epd/api/device/screen --output current.bmp
|
|
|
|
|
|
|
|
|
|
# erase flash memory
|
|
|
|
|
pio run --target erase
|
|
|
|
@ -33,4 +33,4 @@ pio run --target erase
|
|
|
|
|
## access fs over http
|
|
|
|
|
|
|
|
|
|
> get photos from calendar face
|
|
|
|
|
http://192.168.178.65/fs/calendarPhoto.png
|
|
|
|
|
http://paperdash-epd/fs/calendarPhoto.png
|
|
|
|
|