-
Notifications
You must be signed in to change notification settings - Fork 24
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
Fix sleep/wake, again #44
base: main
Are you sure you want to change the base?
Conversation
It seems like the actual issue is incompatibility between Converting it to draft for now. |
@EAGrahamJr can you test if this works for you? |
This seems like the wrong place to fix incompatibilities as this code should not be "blinka" aware. If there's an incompatibility, it should be fixed at the |
This code is kind of aware though, as typing module would only be available in Python, not CircuitPython. |
That's not quite correct: the imports are "aware" but the rest of the code should not be: whatever bus is being used should have a consistent interface so that the display code doesn't have to make a choice when calling the method. |
Sorry for barging in. I have the same problem of Do I understand correctly if this issue should be handled in Adafruit_Blinka_Displayio? If so, have an issue been raised there? I tried looking for one but I'm not sure what I would be looking for :-) |
Basically, the way I understand it, the latest commit should be reverted and the stuff that commit was fixing should be fixed elsewhere. You can use the 2.0.1 release, @mboehn |
Part of the problem here is that this driver isn't quite the same as the other SSD drivers: they all seem to only take a I only have I2C, so that's all I can test/verify. (see adafruit/Adafruit_CircuitPython_DisplayIO_SH1106#19 (comment) for similar comments) |
Since this was mentioned in the forums recently, I thought I would re-comment on this: as noted this is a conflict between the two |
Yes, I can confirm that there is an issue between the two implementations. The fix I submitted apparently only works on Blinka.
Library Comparisons
|
@tannewt This was mentioned in forum post https://forums.adafruit.com/viewtopic.php?t=212512 -- since this involves a conflict between two core drivers, I still think that the resolution should be attempted there and not at this driver level. |
I agree. This is a Blinka bug. A list isn't a readable buffer because it isn't linear memory. bytes, bytearray and array are. Blinka should be updated to match CP. |
Not sure about
wake()
, butsleep()
were throwingTypeError: object with buffer protocol required
at me.