mugo icon indicating copy to clipboard operation
mugo copied to clipboard

Sample on how to transpile a small subset of go to Arduino sketches

µgo

Build Status

Sample on how to transpile a small subset of go to Arduino sketches using 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.