1
0
Fork 0

ship example config files

This commit is contained in:
Kevin Matz 2022-05-13 00:03:35 -04:00
parent 55e0efc093
commit 0bacdf670f
2 changed files with 38 additions and 0 deletions

37
buttons.cfg.example Normal file
View File

@ -0,0 +1,37 @@
; This file contains the configuration data for the buttons.
[button]
; comma seperated list of button names
; button names omited from this list will be omited.
names=switch1,switch2,switch3,switch4
; The button is named as a section.
; When adding additional buttons, be sure to add the section
; name to the index on line 6.
[example]
; the GPIO pin to watch
pin: 1
; macro to run when the pin goes low
close: "gl1"
; macro to run when the pin goes high
open: "gm*"
[switch1]
pin: 12
close: "gl21/2"
open: "gl21/1"
[switch2]
pin: 16
close: "gl22/2"
open: "gl22/1"
[switch3]
pin: 20
close: "gl23/2"
open: "gl23/1"
[switch4]
pin: 21
close: "gl24/2"
open: "gl24/1"

1
server.cfg.example Symbolic link
View File

@ -0,0 +1 @@
baconscript/server.cfg