I’ve been trying to get a flashing LED to work on this board without success. Inside main I have
// Configure PC.12 as output push-pull (LED)
GPIO_WriteBit(GPIOC,GPIO_Pin_12,Bit_SET);
GPIO_InitStructure.GPIO_Pin = GPIO_Pin_12;
GPIO_InitStructure.GPIO_Mode = GPIO_Mode_Out_PP;
GPIO_InitStructure.GPIO_Speed = GPIO_Speed_50MHz;
GPIO_Init(GPIOC, &GPIO_InitStructure);
and enclosed in the while loop
GPIOC->BRR = 0x00001000;
myDelay(5000000);
GPIOC->BSRR = 0x00001000;
myDelay(5000000);
Also tried using
WriteBit inside the while loop that that didn’t work either.
What am I missing
Thanks