I am using the Mikromedia plus for STM32 ARM development kit. I am newbie in ARM programming. I want to blink the LED in the PB3 port green LED. My code is compiled but green LED is not on after run the code. What would be the problem? My code is here;
Code: Select all
#define LED_GREEN GPIOB_ODR.B3
void main()
{
GPIO_Digital_Output(&GPIOB_ODR,
_GPIO_PINMASK_3
);
while(1)
{
LED_GREEN=~LED_GREEN;
Delay_ms(500);
}
}