Skip to content

Instantly share code, notes, and snippets.

@anirudh-ramesh
Last active February 8, 2017 05:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anirudh-ramesh/ab56f90e739cf2d35a4fc51cc8fcd517 to your computer and use it in GitHub Desktop.
Save anirudh-ramesh/ab56f90e739cf2d35a4fc51cc8fcd517 to your computer and use it in GitHub Desktop.
Circle around test patterns [#TonboImaging]
INDEX=0
while [[ 1 ]]; do
echo $INDEX
if [[ "$INDEX" == "3" ]]; then
INDEX=0
else
let INDEX="$INDEX + 1"
fi
/opt/ipnc/renderImage /mnt/mmc/$INDEX.png
sleep 10s
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment