- add Makefile
- improve README.md - smaller fixes regarding configuration
This commit is contained in:
@@ -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"
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user