changed pin

This commit is contained in:
Daniel Ledda
2020-10-31 13:14:05 +01:00
parent fcd13ee800
commit 57bdc21041

View File

@@ -17,7 +17,7 @@ func main() {
panic(err)
}
defer gpio.Close()
pin := gpio.NewPin(gpio.J8p7)
pin := gpio.NewPin(gpio.GPIO7)
pin.Input()
pin.PullUp()