speedyg0nz / MagInkCal

E-Ink Magic Calendar that automatically syncs to Google Calendar and runs off a battery powered Raspberry Pi Zero
Apache License 2.0
3.08k stars 105 forks source link

How can I modify this to work with the 5in65f #4

Closed jainyankee closed 2 years ago

jainyankee commented 2 years ago

Hi, how can I modify your file to work with the 5in65f e ink display from waveshark?

speedyg0nz commented 2 years ago

You'll have to make a number of changes to the code. Since the 5.65" screen has a resolution of 600×448, start by changing the image output resolution in config.json, then amend render/styles.css to make sure the layout is formatted to your desire, finally the files in the display folder will likely need to be changed out since those are specific to the 12.48" panel. The link below will give you a good idea on how to interface with the 5.65" panel using Python.

https://www.waveshare.com/wiki/5.65inch_e-Paper_Module_(F)

There's certainly a fair bit of tinkering to be done but there's where the fun is! All the best!