-
Notifications
You must be signed in to change notification settings - Fork 10
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 the Inky Impression #36
Comments
https://github.com/pappersverk/inky/pull/37/files Current progress will be in that PR on my end. Made a #TODO note on how far I've gotten (not very). I don't think this uses the eeprom that was a thing on the what at all. I get the impression that a lot was copy and pasted and never cleaned up. I'll try to figure out what we can rip out after I have it working. Unclear if all the SPI stuff and pins actually mostly line up between the old ones and the Impression or if they are unused copy and pastes. I guess I'll find out as I get through it :D |
I haven't found any documentation on the orientation (the pinout links to https://pinout.xyz/pinout/inky_impression# but that doesn't help me with the orientation), but the product page has an image that shows the correct orientation with a rpi0: |
This is what I receive back from
I've also started a shell project to be used for testing/developing this work: https://github.com/axelson/inky_impression_livebook |
Some progress! This is effectively what I get if I skip using the cs0 pin entirely (and fix a couple minor bugs in the code): out2.mp4 |
Update, I'm able to display things now! By generating a buffer with (
It seems like we'll have to update or re-write |
Okay, making progress! The bars are mostly gone. They seem completely gone for some colors but not others. I'm not quite sure what's happening. My updates are in #45 but the latest code isn't being used. The main thing I've added is an implementation of the following python code: buf = ((buf[::2] << 4) & 0xF0) | (buf[1::2] & 0x0F) Which is saying that they're using the top 4 bits and the bottom 4 bits. Edit: actually what's happening in the picture is that the color on the right is bleeding into the color on the left. |
Fantastic work Jason!
…On Sun, 14 Nov 2021, 05:28 Jason Axelson, ***@***.***> wrote:
[image: 2021-11-13 18 26 14]
<https://user-images.githubusercontent.com/9973/141667497-ac63c611-c935-40f8-ab13-daedd2c7921e.jpg>
I finally got the coordinates working properly, when writing to the
display we should treat it as if it's 300x896 instead of 600x448
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#36 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAPBIJOPMIHHU5K3FDRAVI3UL43HXANCNFSM5FWM2AWA>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
Thanks! |
One thing you could do is to compare the command sequence generated by the python library exactly to the one that Inky creates. That way you could figure out if something is being done in a weird manner or causing a setting to be changed or something. Be sure to check values carefully! :)... have "fun", hehe. |
This issue will be used for now to capture any and all notes about implementing support for the impression.
It is different hardware but I think we could extend the current API or make a 2.x series to support it where we extend the API in a breaking fashion if necessary.
The way we built the Phat and What support was by porting from Pimoroni. pimoroni/inky
Example for the 7color should be the Impression: https://github.com/pimoroni/inky/blob/master/examples/7color/stripes.py
That indicates using this:
https://github.com/pimoroni/inky/blob/master/library/inky/inky_uc8159.py
Make any notes on progress or dead ends available here :)
Ping @jasonmj @axelson who have also ordered this thing.
The text was updated successfully, but these errors were encountered: