Button


Simple interface that makes it possible to register clicks through physical input.

API Reference

How To Connect

Install the package with: go get gobot.io/x/gobot

For Arduino:

// code here
...

How To Use

This example detects when a button has been pushed, it turns on and off a LED

// code here

Circuit

Compatibility