Lines Matching refs:gpio_name
582 def get(self, gpio_name): argument
587 assert gpio_name
589 return self._server.get(gpio_name)
592 (gpio_name, self._get_xmlrpclib_exception(e))
596 def set(self, gpio_name, gpio_value): argument
602 self.set_nocheck(gpio_name, gpio_value)
604 while gpio_value != self.get(gpio_name) and retry_count:
605 logging.warning("%s != %s, retry %d", gpio_name, gpio_value,
610 assert gpio_value == self.get(gpio_name), \
611 'Servo failed to set %s to %s' % (gpio_name, gpio_value)
614 def set_nocheck(self, gpio_name, gpio_value): argument
620 assert gpio_name and gpio_value
621 logging.info('Setting %s to %r', gpio_name, gpio_value)
623 self._server.set(gpio_name, gpio_value)
626 (gpio_name, gpio_value, self._get_xmlrpclib_exception(e))