baileychic
Advanced Member level 3
I am using TI Tiva launchpad and my Blinky code is not working.
This is th elaunchpad I am using.
**broken link removed**
Oscillator and other project settings are fine because I copied them from mikroe MINI-M4-Tiva example Blink project.
https://www.mikroe.com/mini-tiva
I also tried to blink the onboard RGB Leds but none of the Leds light up. If I flash some other example projects written in Keil, they work and so the hardware setup is fine.
What is the issue?
Find my mikroC PRO ARM project attached.
Here is my mikroC PRO ARM code.
This is th elaunchpad I am using.
**broken link removed**
Oscillator and other project settings are fine because I copied them from mikroe MINI-M4-Tiva example Blink project.
https://www.mikroe.com/mini-tiva
I also tried to blink the onboard RGB Leds but none of the Leds light up. If I flash some other example projects written in Keil, they work and so the hardware setup is fine.
What is the issue?
Find my mikroC PRO ARM project attached.
Here is my mikroC PRO ARM code.
Code:
void main() {
GPIO_Digital_Output(&GPIO_PORTE_DATA, _GPIO_PINMASK_ALL);
GPIO_PORTE_DATA = 0;
while (1) {
GPIO_PORTE_DATA = ~GPIO_PORTE_DATA; // Toggle LEDs
Delay_ms(500); // 500ms pause
}
}