Added functions to call for this program specifically

This commit is contained in:
William Miceli
2021-06-07 18:35:30 -04:00
parent 8cd4c6962c
commit 510e5a32e9

View File

@@ -23,9 +23,12 @@ int main(void) {
usci_init(); // Initialize USCI modules usci_init(); // Initialize USCI modules
delay(); delay();
_EINT(); // Enable global interrupts
P8OUT |= LEDY0; // Initially set LEDY0 to High P8OUT |= LEDY0; // Initially set LEDY0 to High
_EINT(); // Enable global interrupts usci_A2_enable();
usci_A2_enableInterrupt();
while(1) while(1)
{ {