Analog Sensor


Makes it possible to interact with analog inputs on your device and obtain values that represent the analog input send by the sensors. The value received from an analog input read from the sensor goes from 0 to 1027.

API Reference

How To Connect

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

// code here
...

How To Use

This example detects lower and upper limits on a photoresistor sensor.

// code here

Circuit

Compatibility