- Thu Oct 18, 2007 6:22 am
#36676
I am trying to debug my code via the built-in IAR simulator.
Is there any way to using the printf statement in the source
code to send characters to terminal I/O during simulation?
such as :
printf("hello world");
printf("PORT2 = %d", P2IN); //read and display port 2 pins
Has anybody used the statements above or something similar
before?
Please share your idea or suggestions,
Thanks in advance,
JIMMY
Is there any way to using the printf statement in the source
code to send characters to terminal I/O during simulation?
such as :
printf("hello world");
printf("PORT2 = %d", P2IN); //read and display port 2 pins
Has anybody used the statements above or something similar
before?
Please share your idea or suggestions,
Thanks in advance,
JIMMY