Example #1
0
    def refresh() -> None:
        from apps.debug import screenshot

        if not screenshot():
            side = Display.WIDTH // 30
            display.bar(Display.WIDTH - side, 0, side, side, 0xF800)
        display.refresh()
Example #2
0
 def refresh() -> None:
     if not screenshot():
         display.bar(Display.WIDTH - 8, 0, 8, 8, 0xF800)
     display.refresh()
Example #3
0
    def refresh() -> None:
        from apps.debug import screenshot

        if not screenshot():
            display.bar(Display.WIDTH - 8, 0, 8, 8, 0xF800)
        display.refresh()