Cannot blink the LED - Mikromedia plus for STM32 ARM

Post your requests and ideas on the future development of mikroC PRO for ARM.
Post Reply
Author
Message
obuyuk
Posts: 16
Joined: 14 Aug 2015 12:35

Cannot blink the LED - Mikromedia plus for STM32 ARM

#1 Post by obuyuk » 21 Aug 2015 06:16

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

User avatar
biljana.nedeljkovic
mikroElektronika team
Posts: 1043
Joined: 30 Jun 2015 15:15

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

#2 Post by biljana.nedeljkovic » 21 Aug 2015 15:02

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

Post Reply

Return to “mikroC PRO for ARM Wish List”