Added functions to call for this program specifically
This commit is contained in:
@@ -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)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user