Example #1
0
def pin_off(pin):
  debug("pin: "+str(pin)+" - off")
  wpi.digitalWrite(pin, 0)
Example #2
0
def pin_on(pin):
  debug("pin: "+str(pin)+" - on")
  wpi.digitalWrite(pin, 1)