joukos / PaperTTY

PaperTTY - Python module to render a TTY or VNC on e-ink
953 stars 104 forks source link

Add partial refresh for EPD3in12v2 #67

Closed plan5 closed 4 years ago

plan5 commented 4 years ago

I've included code from the waveshare example scripts.

Tested and working fine.

Using partial refresh, a narrow frame around the screen remains unaffected and slowly turns gray. This is an issue with pwnagotchi, too.

I assume this Closes #33

plan5 commented 4 years ago

I'm leaving this open for now but I want to add that there is some strange behavior with the pixel width.

When testing, it worked better with 128 width but after creating the pull request and rebooting later it only launched properly with 122 width.

I will do some testing and then post again.

Update: No matter if width is set to 122 or 128, on the first launch, the image is distorted. On second launch, the picture is clear. I will try to find the necessary step to fix this on first initialization.

plan5 commented 4 years ago

This was a very mess approach. I'll remove my fork and start over after closing this pull request.