mirror of
https://github.com/kidoman/embd
synced 2024-12-22 04:40:04 +01:00
samples: change simpleblinker to match docs
This commit is contained in:
parent
7bbad67d14
commit
ce4fab41da
@ -14,7 +14,7 @@ import (
|
|||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
for {
|
for {
|
||||||
embd.LEDToggle(0)
|
embd.LEDToggle("LED0")
|
||||||
time.Sleep(250 * time.Millisecond)
|
time.Sleep(250 * time.Millisecond)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user