"Debug_UART-USB" project finished, now needs to be debugged
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user