Changed orange-fork
This commit is contained in:
1 parent
6747dd8b18
commit
2729a727dc
1 file changed
+4
@@ -19,7 +19,11 @@ func main() {
|
|||||||
|
|
||||||
t := time.NewTicker(500 * time.Millisecond)
|
t := time.NewTicker(500 * time.Millisecond)
|
||||||
for l := gpio.Low; ; l = !l {
|
for l := gpio.Low; ; l = !l {
|
||||||
|
fmt.Printf("Setting to %t \n", l)
|
||||||
orangefork.PC1_15.Out(l)
|
orangefork.PC1_15.Out(l)
|
||||||
|
orangefork.PC1_16.Out(l)
|
||||||
|
orangefork.PC1_5.Out(l)
|
||||||
|
orangefork.PC1_6.Out(l)
|
||||||
<-t.C
|
<-t.C
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user