Open anecdata opened 5 years ago
Hi @anecdata, could you retest on 5.0.0-alpha.4? Thanks!
5.0.0-alpha.4 on 2019-09-15 with CP Lib Bundle 20191029 doesn't appear to improve or change the behavior of the example.
(Note that the code as shown above has the 3-color EPD enabled, just swap the True / False in lines 17 & 18.)
I suspect this is the same issue that #2330 fixes.
Latest S3 seems to be that merge, but example behavior is the same with: Adafruit CircuitPython 5.0.0-beta.0-67-gf7426e0e6 on 2019-11-26; Adafruit Feather M4 Express with samd51j19 + adafruit-circuitpython-bundle-5.x-mpy-20191126
@anecdata Does this problem still exist?
Re-tested the code example above, and the issue is still present in
Adafruit CircuitPython 7.0.0-alpha.3 on 2021-06-03; Adafruit Feather M4 Express with samd51j19
I think this is fixed by https://github.com/adafruit/Adafruit_CircuitPython_SSD1675/pull/16
Code still works on PyPortal (when fixed up for built-in display and no time_to_refresh
), but I can't get any images to display on the 2-color EPD FeatherWing for some reason, not imageload and not OnDiskBitmap. With or without the little endian library change. I'll keep poking at it. Maybe some API changed that I didn't keep up with. Seems to hang in the loop after the print statement, needing reset.
Darn. Ok. Thanks for testing!
Environment: Adafruit Feather M4 Express with samd51j19 5.0.0-alpha.2 on 2019-09-04 CP Lib Bundle 20190907
The code below attempts to implement the Sprite Sheet example from: https://learn.adafruit.com/circuitpython-display-support-using-displayio/sprite-sheet ...by adapting it to the timing requirements of EPD displays (e.g.,
time.sleep(display.time_to_refresh)
)The first iteration through the main loop will execute properly, but on subsequent iterations, the sprites will be displayed at x = 0 on the 2-color EPD FeatherWing.
The sprites remain in the proper location on the 3-color EPD FeatherWing with the code below (swap the True/False on the board flags near the top). But sometimes the display on the 3-color FeatherWing won't refresh... that will be the subject of a separate issue though I suspect similar init/deinit causes on all of these issues.
Similar code (directly from the Learn guide) works as expected on PyPortal and on other FeatherWings, including 2.4" & 3.5" TFTs, and OLED.
You can shorten the iterations from 180 seconds by adding the
seconds_per_frame
KW arg when you create the display.This issue was moved from: https://github.com/adafruit/Adafruit_CircuitPython_SSD1675/issues/2 (which will be closed).