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

// code here

How To Use

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

// code here