Skip to content

Commit

Permalink
go fmt
Browse files Browse the repository at this point in the history
Signed-off-by: Simon Waldherr <[email protected]>
  • Loading branch information
SimonWaldherr committed Sep 13, 2024
1 parent 7219301 commit 8a7c5a7
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 10 deletions.
1 change: 1 addition & 0 deletions non-std-lib/markdown.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ package main
import (
"fmt"
"io/ioutil"

mmd "simonwaldherr.de/go/micromarkdownGo"
)

Expand Down
20 changes: 10 additions & 10 deletions tinygo/blink.go
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
package main

import (
"machine"
"time"
"machine"
"time"
)

func main() {
led := machine.Pin(25) // Use Pin 19 on Pico W
led.Configure(machine.PinConfig{Mode: machine.PinOutput})
led := machine.Pin(25) // Use Pin 19 on Pico W
led.Configure(machine.PinConfig{Mode: machine.PinOutput})

for {
led.High()
time.Sleep(time.Millisecond * 500)
led.Low()
time.Sleep(time.Millisecond * 500)
}
for {
led.High()
time.Sleep(time.Millisecond * 500)
led.Low()
time.Sleep(time.Millisecond * 500)
}
}

0 comments on commit 8a7c5a7

Please sign in to comment.