peterhinch / micropython-nano-gui

A lightweight MicroPython GUI library for display drivers based on framebuf class
MIT License
484 stars 87 forks source link

ssd.wait (for class EPD) does not exist #66

Closed ZedOud closed 3 months ago

ZedOud commented 3 months ago

I was looking at the two async EPD demos:

and both make use of a ssd.wait() However, my linter, as well as manually browsing through ... from color_setup import ssd v ssd = SSD() v from drivers.epaper.pico_epaper_42 import EPD as SSD v class EPD(framebuf.FrameBuffer): v class FrameBuffer: ... confirms that there is no property of .wait in that line of inheritance.

peterhinch commented 3 months ago

Thank you for the report. The scripts should wait on the ssd.complete and ssd.upated events. I have pushed an update.