{"id":18222541,"url":"https://github.com/nerzal/tinygo-playground","last_synced_at":"2026-04-17T15:02:30.703Z","repository":{"id":85847323,"uuid":"170744927","full_name":"Nerzal/tinygo-playground","owner":"Nerzal","description":"This repo contains some examples showing tinygo features. Making use of arduino and webassembly","archived":false,"fork":false,"pushed_at":"2020-09-18T20:04:22.000Z","size":1205,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-08T00:44:36.946Z","etag":null,"topics":["arduino","examples-go","examples-html","tinygo","wasm-go","webassembly"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Nerzal.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-02-14T19:19:18.000Z","updated_at":"2024-07-13T11:08:37.000Z","dependencies_parsed_at":"2023-03-08T16:45:43.285Z","dependency_job_id":null,"html_url":"https://github.com/Nerzal/tinygo-playground","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Nerzal/tinygo-playground","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nerzal%2Ftinygo-playground","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nerzal%2Ftinygo-playground/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nerzal%2Ftinygo-playground/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nerzal%2Ftinygo-playground/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Nerzal","download_url":"https://codeload.github.com/Nerzal/tinygo-playground/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nerzal%2Ftinygo-playground/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266151524,"owners_count":23884436,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["arduino","examples-go","examples-html","tinygo","wasm-go","webassembly"],"created_at":"2024-11-03T23:04:48.339Z","updated_at":"2026-04-17T15:02:30.653Z","avatar_url":"https://github.com/Nerzal.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# tinygo-playground\n\nExamples do work with Arduino Uno\n\n## starting vscode\n\n\u003e export GOOS=linux; export GOARCH=arm; export GOFLAGS=-tags=avr,baremetal,linux,arm,atmega328p,atmega,avr5,arduino,tinygo,gc.conservative,scheduler.none; code\n\n## Flashing blink-sos\n\n\u003e  tinygo flash --target=arduino cmd/blink-sos/sos.go\n\n## Flashing traffic-light\n\n\u003e  tinygo flash --target=arduino cmd/traffic-light/light.go\n\n## Flashing traffic-button-light\n\n\u003e  tinygo flash --target=arduino cmd/traffic-button-light/light.go\n\n## hello-display\n\n[turorial](https://www.arduino.cc/en/Tutorial/HelloWorld)\n[image](https://www.arduino.cc/en/uploads/Tutorial/LCD_Base_bb_Fritz.png)\n\n\u003e  tinygo flash --target=arduino cmd/hello-display/main.go\n\n## Debugging\n\nuse println(\"text)\n\nAnd when the arduino is running do \n\n\u003e cat /dev/ttyACM0\n\n## Common Problems\n\n\u003e avrdude: ser_open(): can't open device \"/dev/ttyACM0\": Permission denied\n\nChange persmissions of the serial port by using the following command\n\u003e sudo chmod a+rw /dev/ttyACM0\n\n## WASM\n\n### Compile \n\u003e tinygo build -o ./wasm.wasm -target wasm ./main/main.go\n\n### Make\n\u003e make main\n\n### Start the Server\n\n\u003e  go run server.go\n\n\n### Compiled \"main\" example\n\n![](tinygo_wasm3.gif)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnerzal%2Ftinygo-playground","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnerzal%2Ftinygo-playground","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnerzal%2Ftinygo-playground/lists"}