I am getting my MV values in ADC as 268 but for my requirements it should read vge equivalent to 1.31 but I am getting only 0.8 with Vref 3.3v.Can any help me with my configuration is correct .What is my mistake here please
/* MAIN.C file * * Copyright (c) 2002-2005 STMicroelectronics */#include "stm8s.h"#include "stm8s_clk.h"#include "stm8s_adc1.h"void Clk_Config(void);void ADC_Config(void);void ADC_Read(uint16_t *MV);main(){ unsigned short MV; Clk_Config(); ADC_Confi...