This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Hello Led.

HI.

I'm trying my new EV-board MCBSTM32E from Keil.

I have copied the STM32_Init.c and .h file from the Blinky demo project to one project and added STM32F10xR.LIB and my one main.c.

#include <stm32f10x_lib.h>                        // #include "STM32_Init.h"                           //

int main (void)
{
  stm32_Init();// STM32 setup
  GPIOB->ODR = (GPIOB->ODR & 0xFFFF00FF) | (1 << 8);
  while(1);
}

I can debug the code but the led won't go on.
I don't think that's has something to do with the GPIO but more a overall Init problem.

I know that it can be a lot of thing, but I think it's something simple I have missed

Thanks.
Soren

0