Hello,
I have a simple datalogger which works fine. The Arduino sends a text-line every second. On ubuntu PC runs simple script. It reads the lines and prints them on the screen. In addition, it saves them to the file.
$cat script.sh
#!/bin/sh
while read line
do
echo $line
done < /dev/ttyACM0
#EOF
$./script.sh | tee log.txt
Now I would like to run it on OS Windows laptop. Please, are there some examples how to do it in Processing? I'm not strong at Processing. Please could you point me which functions should I use?
Thank you