This commit is contained in:
2019-07-26 16:19:16 +02:00
parent ffeb78d363
commit e757de7b96

11
script/tweaK.py Normal file
View 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)