https://github.com/googlesamples/mugo
Sample on how to transpile a small subset of go to Arduino sketches
https://github.com/googlesamples/mugo
Last synced: 6 months ago
JSON representation
Sample on how to transpile a small subset of go to Arduino sketches
- Host: GitHub
- URL: https://github.com/googlesamples/mugo
- Owner: googlesamples
- License: apache-2.0
- Archived: true
- Created: 2016-05-03T19:52:41.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2016-07-10T22:34:44.000Z (about 10 years ago)
- Last Synced: 2024-06-20T09:10:46.346Z (about 2 years ago)
- Language: Go
- Homepage:
- Size: 25.4 KB
- Stars: 47
- Watchers: 9
- Forks: 16
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# µgo
[](https://travis-ci.org/googlesamples/mugo)
Sample on how to transpile a small subset of go to Arduino sketches using [go/ast](https://golang.org/pkg/go/ast/).
```
🍡 µ < blink/blink.go
void setup() {
pinMode(13, OUTPUT);
}
void loop() {
digitalWrite(13, HIGH);
delay(1000);
digitalWrite(13, LOW);
delay(1000);
}
```
# Disclaimer
This is not an official Google product.