Startup
This commit is contained in:
11
script/tweaK.py
Normal file
11
script/tweaK.py
Normal file
@@ -0,0 +1,11 @@
|
||||
|
||||
|
||||
def tweak(dev, step):
|
||||
import ch.psi.pshell.swing.Shell as Shell
|
||||
while (True):
|
||||
key=Shell.waitKey(0)
|
||||
if key == 0x25 : #Left
|
||||
motor.moveRel(-step)
|
||||
elif key == 0x27 : #Right
|
||||
motor.moveRel(step)
|
||||
|
||||
Reference in New Issue
Block a user