示例#1
0
 def setStatus(self, status):
     self.status = status
     GPIO.output(self.pin, not self.status)