mirror of
https://github.com/KevinMidboe/python-gpiozero.git
synced 2025-10-29 17:50:37 +00:00
Remove wait_for_input, add_callback and remove_callback from the base InputDevice class and add specific things for LightSensor: wait_for_light and wait_for_dark to wait on those events occurring, and when_light and when_dark which can be set to callbacks to call on those events occurring.