Supports voltage measurement.
All readings from this library are in 'volts' regardless of whether it is AC or DC. AC voltages are positive whereas DC voltages can be positive or negative.
Assuming you have called the sensor 'myVolts' in Project Designer then any voltage sensor can be accessed as follows:-
// Read the sensor and store the value
// Access the value
VOLTAGE_TYPE v = myVolts.getVolts();
cout << "Voltage=" << v;
// Or dumped out using
cout << myVolts;
Project Designer supports the following devices