You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
37 lines
715 B
Markdown
37 lines
715 B
Markdown
# paperdash-display
|
|
|
|
## 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
|
|
curl -F '=@test3.png;filename=dithering' http://paperdash-epd/api/device/screen
|
|
|
|
# get current picture as bmp
|
|
curl http://paperdash-epd/api/device/screen --output current.bmp
|
|
|
|
# erase flash memory
|
|
pio run --target erase
|
|
```
|
|
|
|
## access fs over http
|
|
|
|
> get photos from calendar face
|
|
http://paperdash-epd/fs/calendarPhoto.png
|