Hi im working on stm32l072cbt6 micro controller im trying to read the adc value on channel1 in polling method i generated the code using stm32 cube ide,the issue is that always i could not se any variation in the adc raw values and my code is as below,
void MX_ADC_Init(void) { /* USER CODE BEGIN ADC_Init 0 */ /* USER CODE END ADC_Init 0 */ ADC_ChannelConfTypeDef sConfig = {0}; /* USER CODE BEGIN ADC_Init 1 */ /* USER CODE END ADC_Init 1 */ /** Configure the global features of ...