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

Add support for 3in52 display

Open PainOchoco opened this issue 2 years ago • 2 comments

I recently got this display and wanted to use JavaScript to control it! So here's a PR adding support to WaveShare's 3in52 display.

⚠️ I can't get it working for now, this is why it is a draft pull request. I'm testing it with the weather example, web page looking fine, wiring too but nothing is displayed. I've wired exactly like on WaveShare's docs and the WaveShare's examples are running fine.

 Connecting to rpi-3in52 screen
/***********************************/
Current environment: Raspbian
Write and read /dev/spidev0.0
/***********************************/
Connected
Waking up display
Displaying http://localhost:8081
Putting display into low power mode
Next refresh in 10s

Thanks for your help!

PainOchoco avatar Dec 04 '23 02:12 PainOchoco

The clear command is now working fine. But when I try to display one of the examples it shows random pixels like some noise. Maybe the examples are not adapted to this display size?

PainOchoco avatar Dec 04 '23 16:12 PainOchoco

I've updated WaveShare files, nothing new. Clear command works but display command does not. I've tested more and saved the browser screenshot to file, it's working, I have content on the image and it has the right dimensions.

So the problem is narrowing down to the display method... to be continued

PainOchoco avatar Dec 05 '23 01:12 PainOchoco