- add Makefile

- improve README.md
- smaller fixes regarding configuration
This commit is contained in:
2022-12-31 17:04:35 +01:00
parent 586a657674
commit e8c46c43f6
14 changed files with 216 additions and 41 deletions

View File

@@ -7,8 +7,8 @@ type PinPull string
type PinCallback func(pinName string, state PinState)
const (
On PinCommand = "ON"
Off PinCommand = "OFF"
On PinCommand = "ON"
Off PinCommand = "OFF"
Toggle PinCommand = "TOGGLE"
StateOn PinState = "ON"
@@ -17,7 +17,7 @@ const (
Input PinDirection = "Input"
Output PinDirection = "Output"
PullUp PinPull = "PULL_UP"
PullDown PinPull = "PULL_DOWN"
PullOff PinPull = "PULL_OFF"
PullUp PinPull = "PullUp"
PullDown PinPull = "PullDown"
PullOff PinPull = "PullOff"
)