59 lines
1.4 KiB
Plaintext
59 lines
1.4 KiB
Plaintext
# The GPIO numbers are in board mode so you can count down on your
|
|
# Raspberry Pi to find the number:
|
|
# _____________
|
|
# (1) (2) \
|
|
# (3) (4) |
|
|
# (5) (6) |
|
|
#
|
|
# and so on...
|
|
#
|
|
# To get a view for the numbering install the python module gpiozero the following way:
|
|
#
|
|
# sudo pip install gpiozero
|
|
#
|
|
# Now if you type pinout you get a nice graphical overview for your pins.
|
|
# WARNING: Only use GPIOs that are NOT reserved for I²C, SPI or UART!
|
|
|
|
PWM_FREQUENCY=60
|
|
|
|
# You can specify multiple GPIOS for one color separated by ,
|
|
GPIOS_RED=11
|
|
GPIOS_GREEN=12
|
|
GPIOS_BLUE=13
|
|
|
|
# The path to your audio folder (must contain wave files!).
|
|
AUDIO_PATH=/path/to/audio/files
|
|
|
|
# The color for sound visualization
|
|
COLOR_RED=0
|
|
COLOR_GREEN=128
|
|
COLOR_BLUE=255
|
|
|
|
# The color for silence parts of your audio visualization.
|
|
COLOR_BACKGROUND_RED=0
|
|
COLOR_BACKGROUND_GREEN=0
|
|
COLOR_BACKGROUND_BLUE=0
|
|
|
|
# The color for the flickering candle on standby.
|
|
COLOR_FIRE_RED=255
|
|
COLOR_FIRE_GREEN=128
|
|
COLOR_FIRE_BLUE=0
|
|
|
|
# The input pin for your motion sensor.
|
|
GPIO_TRIGGER=7
|
|
|
|
# The seconds the pumpkin waits to be triggered again after he has been triggered.
|
|
RETRIGGER_TIMEOUT=10
|
|
|
|
# The input pin for your evaporator activation.
|
|
GPIO_EVAPORATOR=0
|
|
|
|
# The input pin for your pump activation.
|
|
GPIO_PUMP=0
|
|
|
|
# The maximal runtime for pump and evaporator in seconds during speaking.
|
|
FOG_RUNTIME_MAX=3
|
|
|
|
# The input pin for a poweroff switch to power down the whole system.
|
|
GPIO_POWEROFF=0
|