From 510e5a32e92a92213b8b3534372cb0d2afd97e5a Mon Sep 17 00:00:00 2001 From: William Miceli Date: Mon, 7 Jun 2021 18:35:30 -0400 Subject: [PATCH] Added functions to call for this program specifically --- Telem_Debug/Debug_UART-USB/main.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Telem_Debug/Debug_UART-USB/main.c b/Telem_Debug/Debug_UART-USB/main.c index 46e827f..bef1eaa 100644 --- a/Telem_Debug/Debug_UART-USB/main.c +++ b/Telem_Debug/Debug_UART-USB/main.c @@ -23,10 +23,13 @@ int main(void) { usci_init(); // Initialize USCI modules delay(); - P8OUT |= LEDY0; // Initially set LEDY0 to High - _EINT(); // Enable global interrupts + P8OUT |= LEDY0; // Initially set LEDY0 to High + + usci_A2_enable(); + usci_A2_enableInterrupt(); + while(1) {