examples: re-add hello world serial communication

I accidentally removed the serial example from 45348bfc3e while merging
commit 40f834d58f (PR: https://github.com/aykevl/tinygo/pull/12).
Force-pushing seemed like a bad idea so here it is.
Этот коммит содержится в:
Ayke van Laethem 2018-09-21 14:33:39 +02:00
родитель de694b5857
коммит 486ea1b8ea
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: E97FF5335DFDFDED

10
src/examples/serial/serial.go Обычный файл
Просмотреть файл

@ -0,0 +1,10 @@
package main
import "time"
func main() {
for {
println("hello world!")
time.Sleep(time.Second)
}
}