fix: relay config

This commit is contained in:
Tobias Reisinger 2020-07-02 03:04:36 +02:00
parent d418cb6c8e
commit c97e2f495d
2 changed files with 19 additions and 19 deletions

View file

@ -1,7 +1,7 @@
# Maintainer: Tobias Reisinger <tobias@msrg.cc>
pkgname=emgauwa-controller
pkgver=0.2.3
pkgrel=1
pkgrel=2
epoch=
pkgdesc=""
arch=('any')
@ -18,7 +18,7 @@ source=("https://git.serguzim.me/emgauwa/controller/archive/v$pkgver.tar.gz"
"emgauwa-controller.sysusers"
"emgauwa-controller.tmpfiles")
sha256sums=('074884eca1d2794294abb03575e48a76571bb16d65451ffbb7d4c8d53db4c054'
'7b0efd6e9d3942bdfca7b295ea071233e0d4147326b514f8152741a17e31213f'
'c363e8212c47b72f9962cc6a4f896fb4c7957eb66acf4a77e4725f4bc336a269'
'8ece4b409d5550cdae23591217e440d8599ebf2175f2a91574c0b069314879a0'
'b9cde58b9e9b0605ca4a1eddd78067c55aa3c8d40f80cde0a25c4da9f6f95798'
'5a4ce46c1302546509c0024d4614b5b0d47dde02467b7bf52b28ef6c4ead91e7')

View file

@ -11,51 +11,51 @@ database = /var/lib/emgauwa/controller/db.lmdb
log-level = info
[relay-0]
driver = piface
pin = 0
inverted = 0
[relay-1]
driver = piface
pin = 1
inverted = 0
[relay-2]
driver = gpio
pin = 5
inverted = 1
[relay-3]
[relay-1]
driver = gpio
pin = 4
inverted = 1
[relay-4]
[relay-2]
driver = gpio
pin = 3
inverted = 1
[relay-5]
[relay-3]
driver = gpio
pin = 2
inverted = 1
[relay-6]
[relay-4]
driver = gpio
pin = 1
inverted = 1
[relay-7]
[relay-5]
driver = gpio
pin = 0
inverted = 1
[relay-8]
[relay-6]
driver = gpio
pin = 16
inverted = 1
[relay-9]
[relay-7]
driver = gpio
pin = 15
inverted = 1
[relay-8]
driver = piface
pin = 1
inverted = 0
[relay-9]
driver = piface
pin = 0
inverted = 0