Added more delay to be able to see LEDs toggling on and off
This commit is contained in:
1
Telem_Debug/Debug_BlinkyLED-Basic/.gitignore
vendored
1
Telem_Debug/Debug_BlinkyLED-Basic/.gitignore
vendored
@@ -1 +1,2 @@
|
|||||||
/Debug/
|
/Debug/
|
||||||
|
/.launches/
|
||||||
@@ -17,9 +17,12 @@ int main(void) {
|
|||||||
|
|
||||||
_EINT(); //enable global interrupts
|
_EINT(); //enable global interrupts
|
||||||
|
|
||||||
|
volatile int i;
|
||||||
while(1)
|
while(1)
|
||||||
{
|
{
|
||||||
P8OUT ^= LEDY0 | LEDY1; // Toggle both yellow LEDs
|
P8OUT ^= LEDY0 | LEDY1; // Toggle both yellow LEDs
|
||||||
delay();
|
for(i = 1000; i > 0; i--){
|
||||||
|
delay();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user