mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-15 08:23:41 +00:00
examples: re-add hello world serial communication
I accidentally removed the serial example from45348bfc3ewhile merging commit40f834d58f(PR: https://github.com/aykevl/tinygo/pull/12). Force-pushing seemed like a bad idea so here it is.
This commit is contained in:
@@ -0,0 +1,10 @@
|
|||||||
|
package main
|
||||||
|
|
||||||
|
import "time"
|
||||||
|
|
||||||
|
func main() {
|
||||||
|
for {
|
||||||
|
println("hello world!")
|
||||||
|
time.Sleep(time.Second)
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user