请问下CC3200 URAT 中uart_if.c文件中
void
ClearTerm()
{
Message("\33[2J\r");
}
此函数怎么实现的
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.
请问下CC3200 URAT 中uart_if.c文件中
void
ClearTerm()
{
Message("\33[2J\r");
}
此函数怎么实现的
请参照如下函数实现
void
Message(const char *str)
{
#ifndef NOTERM
if(str != NULL)
{
while(*str!='\0')
{
MAP_UARTCharPut(CONSOLE,*str++);
}
}
#endif
}
意思是如果你不需要串口终端调试,就是你不需要UART0 打印。