Change to use mV for REFERENCE_VOLTAGE