Fixed byte order error for getting ADC values