|Top Previous Next|
Gets the constant used to select Vcc / 1.6 as the voltage reference.
The constant that selects Vcc / 1.6 as the voltage reference.
Since this voltage reference is dependent on supply voltage, it may not be very accurate. For example, if you power the WebCell with a 3.3V regulator that has a 5% tolerance, then the reference voltage could be anywhere from 1.96V to 2.17V. You can determine the voltage reference more accurately by using the calibrate function.
Cell.ADC.reference = Cell.ADC.refVccScaled;