LED


Allows user to interact with LEDs through digital output and PWM (Pulse Width Modulation)

API Reference

How To Connect

Install the package with: go get github.com/hybridgroup/gobot

For Arduino:

// code here
...

How To Use

This example turns an LED on and off every 1s.

// code here

Circuit

Compatibility