Using Serial over USB with Ubuntu
$ sudo stty -F /dev/ttyACM0 115200
$ sudo cat /dev/ttyACM0 > /pc_out.txt
Reset mbed and start the program (https://developer.mbed.org/users/TETSUYA/code/ov7670_CQ/file/ed062dc75c52/)
$ less /pc_out.txt
Delete empty lines, which occupy more than 99% of the output.
$ perl -ne 'if(!/^\s*$/){print $_}' /pc_out.txt > /pc_trim.txt
I'd like to find a terminal application more convenient than stty/cat.
Please log in to post comments.