Current
List of Supported Sensors
Sensor | Sensor Id |
---|---|
ACS712 | 19 |
note
Note the Sensor ID's of your chosen sensor, Sensor ID's needs to written into
config.yaml
while configuring Shunya Interfaces.
Simple API
/* Add this line to your main function * to read data from the sensor */int currentDC = getAmpsdc();
/* Add this line to your main function * to read data from the sensor */int currentAC = getAmpsac();
import commingsoon
var commingsoon = 1;
Advance API
/* Add this line to your main function * to read data from the sensor */int currentDC = getAmpsdc19();
/* Add this line to your main function * to read data from the sensor */int currentAC = getAmpsac19();
import commingsoon
var commingsoon = 1;