From d0ef7da5c0663216b68a30e68aa0d8aff606bd18 Mon Sep 17 00:00:00 2001 From: Sunseeker Lab A-216 Date: Fri, 21 May 2021 15:51:39 -0400 Subject: [PATCH] Added more delay to be able to see LEDs toggling on and off --- Telem_Debug/Debug_BlinkyLED-Basic/.gitignore | 1 + Telem_Debug/Debug_BlinkyLED-Basic/main.c | 5 ++++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/Telem_Debug/Debug_BlinkyLED-Basic/.gitignore b/Telem_Debug/Debug_BlinkyLED-Basic/.gitignore index 3df573f..4a12081 100644 --- a/Telem_Debug/Debug_BlinkyLED-Basic/.gitignore +++ b/Telem_Debug/Debug_BlinkyLED-Basic/.gitignore @@ -1 +1,2 @@ /Debug/ +/.launches/ \ No newline at end of file diff --git a/Telem_Debug/Debug_BlinkyLED-Basic/main.c b/Telem_Debug/Debug_BlinkyLED-Basic/main.c index ab9ddeb..b3fc6af 100644 --- a/Telem_Debug/Debug_BlinkyLED-Basic/main.c +++ b/Telem_Debug/Debug_BlinkyLED-Basic/main.c @@ -17,9 +17,12 @@ int main(void) { _EINT(); //enable global interrupts + volatile int i; while(1) { P8OUT ^= LEDY0 | LEDY1; // Toggle both yellow LEDs - delay(); + for(i = 1000; i > 0; i--){ + delay(); + } } }