Last updated:
0 purchases
piboothextralights 1.0.2
pibooth-extra-lights is a plugin for the pibooth application.
It adds 3 extra lights:
startup : light on at pibooth startup
sequence : light on during the entire capture sequence
flash : light on when the capture is taken
Install
$ pip3 install pibooth-extra-lights
Configuration
Here below the new configuration options available in the pibooth configuration.
The keys and their default values are automatically added to your configuration after first pibooth restart.
The physical pin numbering is used.
[CONTROLS]
# Physical GPIO OUT pin to light a LED at pibooth startup (list of pins accepted)
startup_led_pin = 29
# If True, startup LED is lighting by setting pin(s) to HIGH else by setting to LOW
startup_led_active_high = True
# Physical GPIO OUT pin to light a LED during the entire capture sequence (list of pins accepted)
preview_led_pin = 31
# If True, preview LED is lighting by setting pin(s) to HIGH else by setting to LOW
preview_led_active_high = True
# Physical GPIO OUT pin to light a LED when the capture is taken (list of pins accepted)
flash_led_pin = 33
# If True, flash LED is lighting by setting pin(s) to HIGH else by setting to LOW
flash_led_active_high = True
Note
Edit the configuration by running the command pibooth --config.
States description
Here is the pibooth state sequence
updated with the lights activated by this plugin:
Circuit diagram
Here is the diagram for hardware connections.
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.