Function si8900_convert_voltage(uint8_t)

Function Documentation

uint16_t si8900_convert_voltage(uint8_t adc_hl[2])

Computes the voltage from ADC_H and ADC_L bytes.

Return
The voltage value (eg. 321 -> 3.21V)
Parameters
  • adc_hl: ADC_H and ADC_L