I've some problems finding out how to read from the serial port, and add the value to a file. I need time-stamps or/and numbered lines if that possible.
This is what I've made so far.
cat /dev/ttyS0 < /var/www/ordna/text
Can someone give me a tip how to work it out?