mirror of
https://github.com/paperdash/device-epd.git
synced 2024-11-04 12:00:27 +00:00
.vscode | ||
app | ||
assets | ||
data | ||
include | ||
lib | ||
src | ||
test | ||
.editorconfig | ||
.gitignore | ||
.travis.yml | ||
git_rev_macro.py | ||
partitions_pd.csv | ||
platformio.ini | ||
README.md |
paperdash-display
build for deployment
pio run --environment lolin32
platformio run --target buildfs
compile and upload new firmware
platformio run --target upload
app development
# 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