Skip to content
This repository has been archived by the owner on Aug 13, 2024. It is now read-only.

Working on 1.44 lcd display #5

Open
r41nm4k3r opened this issue Nov 16, 2020 · 2 comments
Open

Working on 1.44 lcd display #5

r41nm4k3r opened this issue Nov 16, 2020 · 2 comments

Comments

@r41nm4k3r
Copy link

Is there a way to make display_handler.py work on the waveshare 1.44' (128x128) through SPI? I tried to edit the python code but no luck so far...

Any advice?

@altimmons
Copy link

Ive been working on this.
I think I have it... only its not working. I have been through it several times and I think my code is correct.

It may be - at this point- my display itself. It has sat in a box for years before I broke it out for this.

I will am about to go through the waveshare documentation (my model) and check that the implementation details against the adafruit implementation (the source of both the oled and my lcd code). Tellingly, even the adafruit_simpletest code doesnt work. I with I had an oled screen as used generally to verify that at least the pisniffer code is running as expected.

There is a great deal in common, as Adafruit or others have wisely broken out the device implementation with the draw routines.

@altimmons
Copy link

If I get it working, I will send a pull.
And post the code here. I believe only display_handler.py needs to change, and that only about 1%.

Should be a separate branch.
Most ideal would be a way to determine which is attached and branch (program not git) based on that, then most display bonnets would work.
Right now Im stuck trying to prove either the LCD does in fact work or that pisniffer does in fact work (and has executed display_handler.py).
I have concerns there because running my own slimmed down code- something like turn screen black and stop, needed a slew of dependencies downloaded before it ran. I would have expected them already satisfied in the image. (may be - havent checked, maybe there's a venv i haven't found yet)

I've gotten way sidetracked from my initial goal of figuring out why this wifi-bridge doesn't work and kicked too many hours this way. If anyone wants to pick it up from here, I may or may not complete this.

Ill go ahead and enter a pull request, but it should be regarded as in-progress.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants