mirror of
https://github.com/paperdash/device-epd.git
synced 2024-11-12 01:10:25 +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://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 http://192.168.178.65/fs/calendarPhoto.png