I would like to know how to read ttyS0, can perform writes from linux console with conmando:
echo "Hello" > / dev/ttyS0
but can not read. I tried with the command:
cat / dev/ttyS0
but it did not work.
Could help me?
I know you can use cat /dev/ttyGS0 and it works, a way to test it is to open the IDE and to send something from the serial monitor, you should be able to the see the data you sent from the IDE in the Linux console.