ssd1675 icon indicating copy to clipboard operation
ssd1675 copied to clipboard

Support yellow

Open jedahan opened this issue 6 years ago • 5 comments

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.

jedahan avatar Dec 26 '18 16:12 jedahan

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.

wezm avatar Dec 26 '18 20:12 wezm

@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 avatar Jan 04 '19 14:01 senden9

@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 :)

jedahan avatar Jan 04 '19 18:01 jedahan

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

senden9 avatar Jan 08 '19 17:01 senden9

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

wezm avatar Jan 08 '19 20:01 wezm