diff --git a/examples/monitor.py b/examples/monitor.py index 02f97f6..9adb8dd 100644 --- a/examples/monitor.py +++ b/examples/monitor.py @@ -1135,10 +1135,11 @@ Low Light Value {:.2f} viewcontroller.update() if light_level_low and config.get_general().get("black_screen_when_light_low"): + display.sleep() display.display(image_blank.convert("RGB")) - else: viewcontroller.render() + display.wake() display.display(image.convert("RGB")) config.set_general( diff --git a/library/setup.cfg b/library/setup.cfg index ef65b6d..b6d0e3e 100644 --- a/library/setup.cfg +++ b/library/setup.cfg @@ -30,7 +30,7 @@ python_requires = >= 3 packages = grow install_requires = ltr559 - st7735 + st7735>=0.0.5 pyyaml fonts font-roboto