GPIO support based on gpiozero added. UNTESTED!

This commit is contained in:
Balthasar Reuter
2018-04-19 23:54:59 +02:00
parent d9eb09475d
commit 7e5eb7dcbd
6 changed files with 119 additions and 25 deletions

View File

@@ -15,12 +15,12 @@ module = python-gphoto2
[Gpio]
# Enable use of GPIO (True/False)
enable = True
# Pin 18 (Channel 24) lets you return to start screen
exit_channel = 24
# Pin 16 (Channel 23) triggers capturing pictures
trigger_channel = 23
# Pin 7 (Channel 4) switches the lamp on and off
lamp_channel = 4
# BOARD pin 18 (BCM pin 24) lets you return to start screen
exit_pin = 24
# BOARD pin 16 (BCM pin 23) triggers capturing pictures
trigger_pin = 23
# BOARD pin 7 (BCM pin 4) switches the lamp on and off
lamp_pin = 4
[Printer]
# Enable printing (True/False)
@@ -40,7 +40,7 @@ greeter_time = 3
# Countdown length in seconds (shown before every shot)
countdown_time = 5
# Display time of assembled picture (shown after last shot)
display_time = 5
display_time = 10
[Picture]
# Basename of output pictures