Last active
August 7, 2019 01:44
-
-
Save astrophysik928/a31548b2c27aacfb9f2074a8f95fce13 to your computer and use it in GitHub Desktop.
画像撮影のシェル(登山情報発信システムとリンク)
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/bash | |
echo "take picture!!" | |
fswebcam --skip 10 /home/pi/imageBox/image.jpg | |
sleep 3 | |
fswebcam /dev/null | |
rc=1 | |
while [$rc -eq 1] | |
do | |
sleep 3 | |
v412-ctl --all >/dev/null | |
rc=$? | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment