"Debug_UART-USB" project finished, now needs to be debugged

This commit is contained in:
William Miceli
2021-06-11 13:35:24 -04:00
parent 5215de982e
commit ff47ce4b9b
2 changed files with 18 additions and 3 deletions

View File

@@ -1,6 +1,7 @@
#include "interrupts.h"
extern volatile unsigned char status_flag;
extern char* pUARTReceiveString;
/*
* Timer B CCR0 Interrupt Service Routine
@@ -27,3 +28,8 @@ __interrupt void TIMER0_B0_ISR(void){
P8OUT &= ~LEDG; // Turn off the green LED
}
}
#pragma vector = USCI_A2_VECTOR
__interrupt void USCI_A2_ISR(void){
usci_A2_receiveString(pUARTReceiveString);
}