Exemplo n.º 1
0
 def blockingGetPinValue(self, aDelay_ms):
     """ Get pin value (blocking mode)
         \param return pin value
     """
     try:
         return wrapper.blockingGetPinValue(self.__device, aDelay_ms)
     except Exception, e:
         raise AsGpioError(str(e))
Exemplo n.º 2
0
 def blockingGetPinValue(self, aDelay_ms):
     """ Get pin value (blocking mode)
         \param return pin value
     """
     try:
         return wrapper.blockingGetPinValue(self.__device,
                                            aDelay_ms);
     except Exception, e:
         raise AsGpioError(str(e))