Browse Source

Added shortcut functions for sitting and standing heights

master
Elis Axelsson 4 years ago
parent
commit
1261ffd963
  1. 10
      code/main.py

10
code/main.py

@ -20,3 +20,13 @@ def goCrazy():
table.triggerRelay(-1)
time.sleep(3)
def standingHeight():
table = Table()
table.move((82 - table.currentHeight()) * -1)
def sittingHeight():
table = Table()
table.move((120 - table.currentHeight()) * -1)

Loading…
Cancel
Save