Remove old raiseUp and lowerDown functions

master
Elis Axelsson 5 years ago
parent 7ef5553f23
commit c84dd8859e
  1. 13
      code/main.py

@ -8,19 +8,6 @@ def getMovement():
return sensor.value()
def toggleRaiseUp():
relayUp = machine.Pin(pins.D5, mode=machine.Pin.OUT)
relayUp.value(not relayUp.value())
def toggleLowerDown():
relayDown = machine.Pin(pins.D6, mode=machine.Pin.OUT)
relayDown.value(not relayDown.value())
def goCrazy():
while True:
print("Lowest Distance: " + str(getDistance()))

Loading…
Cancel
Save