Other Parts Discussed in Thread: MSP430G2553
Line:36,expression:c>=-1&&c<=255,For information on how your program can cause an assertion failure, see the Visual C++ documentation on asserts.
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Other Parts Discussed in Thread: MSP430G2553
Line:36,expression:c>=-1&&c<=255,For information on how your program can cause an assertion failure, see the Visual C++ documentation on asserts.
#include "MSP430G2553.h"
#include "UART_Event.h"
#include "UART_FIFO.h"
#include "UART_Global.h"
#include "UART_init.h"
void main(void) {
WDTCTL = WDTPW + WDTHOLD; // Stop watchdog timer
USCI_A0_init();
_bis_SR_register(LPM3_bits) ;
while(1){
}
}
就这些
额。那些头文件和对应的c文件都是什么内容?
楼主操作系统上的用户名是不是中文?
有时候中文目录也会引起类似的错误
参考https://e2echina.ti.com/question_answer/microcontrollers/msp430/f/55/p/53898/124241#pi58417=1