epaper.js icon indicating copy to clipboard operation
epaper.js copied to clipboard

4in2 ejs clear does not clear the screen

Open VictorioBerra opened this issue 2 years ago • 5 comments

causes blackish screen:

image

repeating the clear command causes screen to darken more each time.

VictorioBerra avatar Aug 12 '22 16:08 VictorioBerra

@VictorioBerra, unfortunately, I wasn't able to reproduce this locally. I do have a slightly different version of the display, though... it's not mounted on a PCB like yours is.

Does this still occur with the latest version: @epaperjs/[email protected] / @epaperjs/[email protected]? This version brings in significant updates to the driver from waveshare... including changes to the clearing logic.

samsonmking avatar Sep 12 '22 01:09 samsonmking

Thanks for looking @samsonmking when did you update the driver from waveshare?

VictorioBerra avatar Sep 12 '22 13:09 VictorioBerra

@VictorioBerra I just updated on 9/11/2022. you can see the diff here... I pulled in the latest from this repository. Do you see this problem if you run with just the example code provided by waveshare?

samsonmking avatar Sep 14 '22 13:09 samsonmking

No the python code from wave share worked great, to be honest I haven't tried your changes yet I just wanted to know if the driver was updated since the last time I tried. I have to set everything up and test it again I hope to do that within the next couple weeks I'm leaving for vacation shortly.

VictorioBerra avatar Sep 14 '22 13:09 VictorioBerra

@samsonmking No luck clearing the screen still. This is after I fixed my pinout stuff here.

VictorioBerra avatar Nov 29 '22 18:11 VictorioBerra