Read analog inputs on a (currently only) a BeagleBone Black.
Very much a work-in-progress.
var AnalogIn =// after connecting some sort of analog device to the beaglebonevar ain1 =console
input is the Analog input number on the BeagleBone black, 0-7.
otherwise reads will be an integer between 0 and 1800
Asynchronously read the value.
Read the value synchronously.