peterhinch / micropython-nano-gui

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

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

Closed ZedOud closed 5 months ago

ZedOud commented 5 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 5 months ago

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