added more logs

This commit is contained in:
didier committed 2024-07-26 12:26:46 -04:00
1 parent 24ca3fb4a0
commit 636c52759f
1 file changed
+7 -1
+7 -1
View File
@@ -9,7 +9,13 @@ import (
) )
func main() { func main() {
host.Init() s, err := host.Init()
if err != nil {
fmt.Printf("%s", err)
} else {
fmt.Printf("OK: %s\n\n", s)
}
//fmt.Printf("Is arm? %t", orangepi.is)
t := time.NewTicker(500 * time.Millisecond) t := time.NewTicker(500 * time.Millisecond)
for l := gpio.Low; ; l = !l { for l := gpio.Low; ; l = !l {
err := orangepi.PA1_8.Out(l) err := orangepi.PA1_8.Out(l)