Use the Waveshare ePaper display Wifi example to automate image uploads
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.
 
 
 
 
Norman Köhring 6f3979d6d0 first steps towards image generation 1 year ago
orig init 1 year ago
.gitmodules first steps towards image generation 1 year ago
README.md init 1 year ago
deno.jsonc first steps towards image generation 1 year ago
deno.lock first steps towards image generation 1 year ago
dither.ts init 1 year ago
generate-image.ts first steps towards image generation 1 year ago
generated-image.png first steps towards image generation 1 year ago
main.ts init 1 year ago
main_test.ts init 1 year ago
monofur.ttf first steps towards image generation 1 year ago
test.png init 1 year ago
transmit.ts init 1 year ago

README.md

Info Display

This Deno application transforms (resizes and dithers) and image and sends the image to Waveshare's E-Paper ESP32 driver board. For it to work, you need the original wifi example code to be loaded on the board. The code is derived from the wifi example web app, but specialized for the Waveshare 7.5 V2 monochrome display.

Usage

# just send the image to the display
deno --allow-read --allow-net main.ts /path/to/original/image

# store dithered image on disk, before sending
deno --allow-read --allow-write --allow-net main.ts /path/to/original/image /path/to/output.image