Added support for gphoto2-cffi instead of piggyphoto to allow disabling the sensor while idle
This commit is contained in:
@@ -139,6 +139,7 @@ class Photobooth:
|
||||
self.gpio.set_output(self.lamp_channel, 1)
|
||||
|
||||
while True:
|
||||
self.camera.set_idle()
|
||||
# Display default message
|
||||
self.display.clear()
|
||||
self.display.show_message("Hit the button!")
|
||||
|
||||
Reference in New Issue
Block a user