Skip to main content

No project description provided

Project description

pibooth-flashled

Python 3.6+ PyPi package PyPi downloads

pibooth-flashled is a plugin for the pibooth application.

It adds a flash with warm white and cold white when the capture is taken.

Install

pip3 install pibooth-flashled
    
sudo systemctl enable pigpiod
sudo systemctl start pigpiod 

Configuration

Below are 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.

[FLASH]

# Physical GPIO OUT pin to light a warm white LED strip
warmwhite_pin = 12
    
# Physical GPIO OUT pin to light a cool white LED strip
coolwhite_pin = 13
		
# The white balance (warm white, cool white) in percent
white_balance = (50, 50)

# The brightness in percent
brightness = 50
		
# How long is the fade light in milliseconds (0 to skip it)
fade_delay = 1000

Edit the configuration by running the command pibooth --config.

Circuit diagram

Here is the diagram for hardware connections.

Electronic sketch

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pibooth_flashled-1.1.1.tar.gz (4.0 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page