Added support for gphoto2-cffi instead of piggyphoto to allow disabling the sensor while idle

This commit is contained in:
Balthasar Reuter
2016-09-14 22:39:46 +02:00
parent 027c5467ad
commit a888967301
3 changed files with 65 additions and 13 deletions

View File

@@ -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!")