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.

CCS5.5的printf打印不出来

之前使用printf打印控制台都能正常显示,用着用着突然今天打印就不能显示了

昨天还能打印,今天就不能了,改了heap、写了“\n”,还是不行

  • 突然不能打印的话,有做什么改动吗?写个最简单的打印代码可以吗?
  • #include <stdio.h>

    调用printf时记得在文件开头加上上面这句

  • 可以先试一下在其他电脑上安装同样版本的CCS,将工程重新在这台电脑上打开。如果可以的话可能是你电脑的某些库文件损坏了。如果还是不行,那就要接上串口调试工具,在线debug一下,跟踪打印输出变量的值。