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.
Этот коммит содержится в:
		
							родитель
							
								
									de694b5857
								
							
						
					
					
						коммит
						486ea1b8ea
					
				
					 1 изменённых файлов: 10 добавлений и 0 удалений
				
			
		
							
								
								
									
										10
									
								
								src/examples/serial/serial.go
									
										
									
									
									
										Обычный файл
									
								
							
							
						
						
									
										10
									
								
								src/examples/serial/serial.go
									
										
									
									
									
										Обычный файл
									
								
							|  | @ -0,0 +1,10 @@ | |||
| package main | ||||
| 
 | ||||
| import "time" | ||||
| 
 | ||||
| func main() { | ||||
| 	for { | ||||
| 		println("hello world!") | ||||
| 		time.Sleep(time.Second) | ||||
| 	} | ||||
| } | ||||
		Загрузка…
	
	Создание таблицы
		
		Сослаться в новой задаче
	
	 Ayke van Laethem
						Ayke van Laethem