本文介绍如何将printf() 重定向至串行线输出(SWO) 引脚和如何在Keil µVision 中显示输出。 1) 添加#include <stdio.h> 至要写入printf 语句的文件开头。
確定! 回上一頁