資源簡介
CCS需要打開串口打印時(shí)需要添加的代碼
代碼片段和文件信息
int32_t?fputc(int32_t?chFILE*f)
{
????SerialSend(0ch);//自己的串口輸出函數(shù)
????return?ch;
}
int?fputs(const?char?*_ptr?register?FILE?*_fp)
{
?
評論
共有 條評論
int32_t?fputc(int32_t?chFILE*f)
{
????SerialSend(0ch);//自己的串口輸出函數(shù)
????return?ch;
}
int?fputs(const?char?*_ptr?register?FILE?*_fp)
{
?
共有 條評論