X-Git-Url: https://git.ayoreis.com/hackapet/Adafruit_Blinka.git/blobdiff_plain/790ae7ee7cc2050a6e141fe5acc88e3ad3eebf64..9cb06fd1a8b5ee7af6101014b6b88d8736e0feb0:/src/digitalio.py diff --git a/src/digitalio.py b/src/digitalio.py index e77d910..ad05cb3 100755 --- a/src/digitalio.py +++ b/src/digitalio.py @@ -176,7 +176,7 @@ class DigitalInOut(ContextManaged): @property def value(self): - """Get or Set the Digital Pin Value""" + """The Digital Pin Value""" return self._pin.value() == 1 @value.setter @@ -188,7 +188,7 @@ class DigitalInOut(ContextManaged): @property def pull(self): - """Get or Set the Digital Pin Direction""" + """The pin pull direction""" if self.direction is Direction.INPUT: return self.__pull raise AttributeError("Not an input") @@ -215,7 +215,7 @@ class DigitalInOut(ContextManaged): @property def drive_mode(self): - """Get or Set the Digital Pin Drive Mode""" + """The Digital Pin Drive Mode""" if self.direction is Direction.OUTPUT: return self.__drive_mode # raise AttributeError("Not an output")