diff --git a/lib/thumbyGrayscale.py b/lib/thumbyGrayscale.py index ceaaed7..29df01e 100644 --- a/lib/thumbyGrayscale.py +++ b/lib/thumbyGrayscale.py @@ -469,6 +469,11 @@ def show_async(self): else: self.show() + @micropython.viper + def show_wait(show): + state = ptr32(self._state) + while state[_ST_COPY_BUFFS] != 0: + idle() @micropython.native def setFPS(self, newFrameRate):