go-arduino

Control your arduino with golang and feel multi-threading

GPL-3.0 License

Stars
11

go-arduino

Control your arduino with golang

As long as arduino is not supporting multi threading, we can use gobot to perform IO operations and handle multi threading functionality with golang.

prerequisites

  • go
  • arduino

setup

  • Install Firmata

    • Remove all attached components from Arduino UNO
    • Open Arduino IDE
    • Go to File > Examples > Firmata > StandardFirmata
  • Setup Circuit

    • Create following Circuit
  • execute following

    • go run arduino.go