WebbotLib AVR library
WebbotLib It just does it
  C++ documentation  C documentation

Phidget DC Current (20 Amp) Sensor

Phidget 20A DC current sensor.
phidget 20a.jpg
Example
Assuming you have called your sensor 'myCurrent' in Project Designer then it can be accessed as follows:-
myCurrent.read();
CURRENT_TYPE amps = myCurrent.getAmps();
cout << "Current=" << amps;
Or dumped to the standard out destination using:-
cout << myCurrent;
Function Summary

Valid XHTML 1.0 Transitional