ADC rate 함수
12bit ADC Rate(0 ~ 1.0)로 return
float getADCRate(uint16_t adc_12bit_code)
{
float fret = 0.0;
fret = (float)(adc_12bit_code*16) * (1.0f / (float)0xFFFF);
return fret;
}
float getADCRate(uint16_t adc_12bit_code)
{
float fret = 0.0;
fret = (float)(adc_12bit_code*16) * (1.0f / (float)0xFFFF);
return fret;
}