Quantcast
Channel: Keil Discussion Forum RSS Feed
Viewing all articles
Browse latest Browse all 3049

ARM: Configuring ADC in STM32F3

$
0
0
Hi, I'm trying to use an ADC in my STM32F3 Discovery. I've prepared a code as follows #include "stm32f30x.h" #include "stm32f30x_rcc.h" #include "stm32f30x_adc.h" #include <stm32f30x_gpio.h> #define LED (GPIO_Pin_8 | GPIO_Pin_9 | GPIO_Pin_10 | GPIO_Pin_11 | GPIO_Pin_12 | GPIO_Pin_13 | GPIO_Pin_14 | GPIO_Pin_15) uint16_t convertedValue= 0; void delay_ms (int time) { int i; for (i = 0

Viewing all articles
Browse latest Browse all 3049

Trending Articles