Skip to content

Comments

Add support for 3in52 display#94

Draft
PainOchoco wants to merge 10 commits intosamsonmking:mainfrom
PainOchoco:main
Draft

Add support for 3in52 display#94
PainOchoco wants to merge 10 commits intosamsonmking:mainfrom
PainOchoco:main

Conversation

@PainOchoco
Copy link

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
Copy link
Author

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
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant