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/
|
||||
/.launches/
|
||||
@@ -17,9 +17,12 @@ int main(void) {
|
||||
|
||||
_EINT(); //enable global interrupts
|
||||
|
||||
volatile int i;
|
||||
while(1)
|
||||
{
|
||||
P8OUT ^= LEDY0 | LEDY1; // Toggle both yellow LEDs
|
||||
for(i = 1000; i > 0; i--){
|
||||
delay();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user