Lines Matching refs:pin
38 self.pin = m.Gpio(MRAA_GPIO)
39 self.gpio_path = "/sys/class/gpio/gpio" + str(self.pin.getPin(True))
43 self.pin = ""
46 self.pin_no = self.pin.getPin() # i should have the pin no. here as set when initing Gpio class
53 self.pin.dir(m.DIR_OUT)
60 self.pin.dir(m.DIR_IN)
67 self.pin.dir(m.DIR_OUT)
68 self.pin.write(1)
75 self.pin.dir(m.DIR_OUT)
76 self.pin.write(0)
83 self.pin.dir(m.DIR_IN)
84 res = self.pin.write(1)
88 self.pin.dir(m.DIR_IN)
89 res = self.pin.write(0)