Created
July 21, 2015 11:47
-
-
Save pingud98/c08e2f1a43615fdb1ef2 to your computer and use it in GitHub Desktop.
Shell script for simultaneous data logging from two USB serial arduino's
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
now=$(date +"%m_%d_%Y_%H_%M_%S") | |
echo "Start time" | |
echo $now | |
cat /dev/ttyACM0 > chanA_$now.csv & | |
cat /dev/ttyACM1 > chanB_$now.csv & | |
echo "Logging script running" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment