svxlink/gpio.conf

35 lines
1.0 KiB
Plaintext
Raw Normal View History

2023-05-28 11:45:08 +00:00
###############################################################################
#
# Configuration file for the SvxLink server GPIO Pins
#
###############################################################################
# GPIO system pin path
# RPi/odroid/nanopi/pine64 = /sys/class/gpio, orangpi = /sys/class/gpio_sw
GPIO_PATH=/sys/class/gpio
# Space separated list of GPIO pins that point IN and have an
# Active HIGH state (3.3v = ON, 0v = OFF)
GPIO_IN_HIGH=""
# Space separated list of GPIO pins that point IN and have an
# Active LOW state (0v = ON, 3.3v = OFF)
GPIO_IN_LOW=""
# Space separated list of GPIO pins that point OUT and have an
# Active HIGH state (3.3v = ON, 0v = OFF)
GPIO_OUT_HIGH="gpio18 gpio23"
# Space separated list of GPIO pins that point OUT and have an
# Active LOW state (0v = ON, 3.3v = OFF)
GPIO_OUT_LOW=""
# User that should own the GPIO device files
GPIO_USER="svxlink"
# Group for the GPIO device files
GPIO_GROUP="svxlink"
# File access mode for the GPIO device files
GPIO_MODE="0664"