I written the program for measuring the voltage in ADCO pin by considering the 5V DIFF as reference after compiling it is displaying 1.4 V only but if i measure the same pin by using micrometer it is displaying 3.7V ,i did lot of modification to solve this issue but still encountering the same issue so can anyone suggest me how to solve this problem ?
(// Print out current Battery sataus
tfp_printf("adc0 pin viltage:%d mV\r\n",
TD_MEASURE_SingleVoltage(adcSingleInpCh0,adcRef5VDIFF));
Thank you in advance
Prabhu