finished converting low_voltage_detection from avr_voltage to band_gap_reading