No changes between revisions
/Modules/TDC/GP201A/SW/PCHost/logger.sh
0,0 → 1,15
#!/bin/bash
echo "Openning serial line"
stty -F /dev/ttyUSB0 igncr -echo onocr icrnl speed 9600
./read.sh &
sleep 5
 
while true; do
echo -e "Time measurement..... "
echo -e "M1 1 1\r\n" > "/dev/ttyUSB0"
sleep 0.5
echo -e "Temperature measurement \r\n"
echo -e "TM\r\n" > "/dev/ttyUSB0"
sleep 5
done
 
Property changes:
Added: svn:executable
+*
\ No newline at end of property
/Modules/TDC/GP201A/SW/PCHost/read.sh
0,0 → 1,4
#!/bin/bash
stty -F /dev/ttyUSB0 igncr -echo onocr icrnl speed 9600
cat /dev/ttyUSB0 >> ./output.txt
 
Property changes:
Added: svn:executable
+*
\ No newline at end of property