Tool/software:
Hi,
is it possible to add log prints to the code in CCS and see them?
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.
Tool/software:
Hi,
is it possible to add log prints to the code in CCS and see them?
Hello,
For the easiest way I'd recommend printf(), this will print what is desired to the console. The downside with this command is that it is slow and can hang the program. Only recommend having a few printf() logs to decrease chances of hanging.
DebugP_log is another option. It is faster than printf() but not as consistent. It will not always work and it prints to the console.
Best,
Gabriel