crazy shit.
This commit is contained in:
1 parent
e54aeeb5af
commit
a85df3df46
1 file changed
+1
-1
@@ -33,7 +33,7 @@ func getInput(pin gpio.PinIO) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
for i := 0; i < 100; i++ {
|
for i := 0; i < 100; i++ {
|
||||||
val := pin.WaitForEdge(500 * time.Millisecond)
|
val := pin.WaitForEdge(5 * time.Second)
|
||||||
log.WithField("pin", pin.String()).Infof("Received", val)
|
log.WithField("pin", pin.String()).Infof("Received", val)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user