mirror of
https://github.com/eddyem/pusirobot.git
synced 2026-03-21 09:11:01 +03:00
add quiet option, fix something
This commit is contained in:
16
commandline/cfg/Fmove
Executable file
16
commandline/cfg/Fmove
Executable 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
|
||||
|
||||
6
commandline/cfg/OfflinePrgmng.cfg
Normal file
6
commandline/cfg/OfflinePrgmng.cfg
Normal file
@@ -0,0 +1,6 @@
|
||||
# Turn off offline programming
|
||||
0x6018, 1, 0
|
||||
0x6018, 2, 0
|
||||
# Save parameters
|
||||
0x2007, 0, 2
|
||||
|
||||
Reference in New Issue
Block a user