add quiet option, fix something

This commit is contained in:
2020-10-01 12:41:57 +03:00
parent 240b5f8677
commit fe0fe62cad
8 changed files with 90 additions and 51 deletions

16
commandline/cfg/Fmove Executable file
View File

@@ -0,0 +1,16 @@
#!/bin/bash
if [ $# -ne 1 ]; then
echo "Usage: $0 <steps>"
exit 1
fi
STEPS=$1
NEGSTEPS=$((-$1))
echo "Move focus to $STEPS steps"
./steppermove -qI1 -r $NEGSTEPS
./steppermove -qI2 -r $STEPS
./steppermove -qI3 -r $STEPS

View File

@@ -0,0 +1,6 @@
# Turn off offline programming
0x6018, 1, 0
0x6018, 2, 0
# Save parameters
0x2007, 0, 2