完成发卡关卡全部功能

This commit is contained in:
2024-12-23 14:18:16 +08:00
parent c6b8106c2d
commit 73571c923a
5 changed files with 46 additions and 36 deletions

View File

@@ -22,6 +22,7 @@ game:
# addr: /dev/ttyUSB0 # 点位 5 的串口地址
pushGroups: # 点位 4 的发卡器配置
- name: gpiochip0
read: /dev/ttyUSB0
outOK: 21
lower: 20
error: 16
@@ -30,11 +31,11 @@ game:
reset: 19
pull: 26
- name: gpiochip0
read: /dev/ttyUSB0
outOK: 7
lower: 8
error: 25
empty: 24
push: 10
reset: 9
pull: 11
readAddr: /dev/ttyUSB0 # 点位 4 的读卡器配置
pull: 11