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

led blinking problem in stm32f401re NUCLEO64(newbie)

hi,

 earlier i was working on PIC controller, now i am shifting to ARM and i am having stm32f401re NUCLEO64 evaluation board.

development tool chain i am using is Keil arm mdk , keil version 5. i found some notes for blinking the led on board and i followed the step.

the led is blinking attached on PA5, below is the code,

 

now when i want to change the pin PC10 on PORTC. the register i changed is

RCC->AHB1ENR |= 0x04; /* enable GPIOA clock */

GPIOC->MODER |= 0x00200000; /* set pin to output mode */

GPIOC->BSRR = 0x00000400; /* turn on LED */
below is the edited code and i am getting nothing. this is the first attempt on stm32 controller. please help me out.

0