/var/www/restricted/ssh/stm32/www/stm32circle/
phpMyVisites | Open source web analytics
Pages: 1
Hm, i get this error for all my #define.What is it my stm32 want from me?16: error: 'GPIO_PIN_9' undeclared (first use in this function)#include <stm32f10x.h>#include <stm32f10x_rcc.h>#include <stm32f10x_gpio.h>#define W_CLK GPIO_PIN_9#define FQ_UD GPIO_PIN_8#define DATA GPIO_PIN_7#define RESET GPIO_PIN_6#define PORT GPIOCSome #include or is it some #define missing here?Anyone has a clue?I just dont know what to do.
Offline
GIO_PIN_9 is well declared in stm32f10x_gpio.h, but as : #define GPIO_Pin_9Be careful with the sensitive case of the declaration, depending on the library, so depending on the micro-controller family you use.
Ah, thats it.It solved the problem.Very big thanks for your help!