Page 1 of 1

Cannot blink the LED - Mikromedia plus for STM32 ARM

Posted: 21 Aug 2015 06:16
by obuyuk
Hi,

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);                             
        }
}

Re: Cannot blink the LED - Mikromedia plus for STM32 ARM

Posted: 21 Aug 2015 15:02
by biljana.nedeljkovic
Hello,

I believe you have multiple topics of the same problem, so I have answered to to the other topic. We can continue our conversation there.
http://www.mikroe.com/forum/viewtopic.p ... 48#p261548

Kind regards,
Biljana