Hi,
I am using the screen on Ubuntu to get a shell to STM32. I was wondering is it possible to write what it displays in the shell to a text file ?
Any suggestion for opening and writing to a file instead of chprintf () ?
Thanks,
Jessi
Write in file
Moderator: RoccoMarco
Re: Write in file
Start screen with -L parameter and you will take all comuninaction in log file ( screenlog.0 ).
Example: screen -L /dev/ttyACM0
man screen - for more information.
Example: screen -L /dev/ttyACM0
man screen - for more information.
Re: Write in file
Djuro wrote:Start screen with -L parameter and you will take all comuninaction in log file ( screenlog.0 ).
Example: screen -L /dev/ttyACM0
man screen - for more information.
Thanks.
Jessi