ssd1675
ssd1675 copied to clipboard
Support yellow
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.
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.
@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 )
@senden9 I pushed my WIP code to https://github.com/wezm/ssd1675/pull/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 :)
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
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