Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support yellow #3

Open
jedahan opened this issue Dec 26, 2018 · 5 comments
Open

Support yellow #3

jedahan opened this issue Dec 26, 2018 · 5 comments
Assignees

Comments

@jedahan
Copy link
Contributor

jedahan commented Dec 26, 2018

The inkyPhat I have is black and yellow. In the python module, you have to specify what color to use (though it defaults to red).

If you can assign this to me, it would be cool to learn a bit about rust embedded dev.

@wezm
Copy link
Owner

wezm commented Dec 26, 2018

The yellow variant uses the same code, just with a different lookup table and VSH and VSL. It should be straightforward to tweak the Inky pHAT example to support yellow and red.

@senden9
Copy link

senden9 commented Jan 4, 2019

@jedahan any update on this? Otherwise i will look this weekend at this if i find some free time.

(PS: I just received my display. Will try first some of the python examples and then dive into rust :D )

@jedahan
Copy link
Contributor Author

jedahan commented Jan 4, 2019

@senden9 I pushed my WIP code to #4 - feel free to build off of that or write your own. I am pretty sick so I don't think I can get to finishing it this weekend.

BTW this is untested :)

@senden9
Copy link

senden9 commented Jan 8, 2019

I am not quite sure why adaptions are needed after all. I tried the example with for the red display with my yellow one (extended with a little bit more text) and it seems to just work 🤔.

Picture proof: https://photos.app.goo.gl/Dw6H4gP1Rrgq6QRAA

@wezm
Copy link
Owner

wezm commented Jan 8, 2019

Yes this was my assumption when building the crate. The controller is the same, it's just some of the config that's different depending on the display that's connected to it. I suspect that you will get a better shade of yellow if you use the LUT from #4 and possibly the source driving voltage https://github.com/wezm/ssd1675/pull/4/files#diff-6d8a5e2104954a026de2bfe2b936aea4R128

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

No branches or pull requests

3 participants