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

ARM: STM32F103RB ADC CODE

$
0
0
I'm trying to write a code for ADC but there are 2 problems: 1.''ADC_CommonInitTypeDef ADC_CommonInitStructure;'' something is wrong in there. Should i add a library?. I've added "stm32f10x_adc.h" but still have problem. 2.''GPIO_InitStructure.GPIO_Mode=GPIO_Mode_AN;'' i'm gonna use this pin for Anolog input but there is a problem. I'm looking forward to your help. Thank you! #include "stm32f10x.h" // Device header int main() { u

Viewing all articles
Browse latest Browse all 3049

Trending Articles