Hello
I'm able to send text to the 'Debug (printf) Viewer' using:
printf("Pin is set high\n");
However, I'm wanting to also send text to a file stored on the computer.
Is this possible? If so, is there some example code that anyone could direct me to.
Thanks
Ron
If you send data through a comport and use either a C program or more likely use something like Tera Term the data can be captured into a file. I think it may be called log file in Tera Term.
Do any of these help?
http://www.keil.com/support/man/docs/uv4/uv4_cm_log.htm
http://www.keil.com/support/man/docs/uv4/uv4_cm_irlog.htm
http://www.keil.com/support/man/docs/uv4/uv4_cm_itmlog.htm
http://www.keil.com/support/man/docs/uv4/uv4_cm_slog.htm