From: Melissa LeBlanc-Williams Date: Fri, 10 Sep 2021 17:05:35 +0000 (-0700) Subject: Merge branch 'main' of https://github.com/adafruit/Adafruit_Blinka into pwm64fix X-Git-Tag: 6.14.0^2 X-Git-Url: https://git.ayoreis.com/Adafruit_Blinka-hackapet.git/commitdiff_plain/ee0ac203d106fee2963d0c0deb42e206150995af?hp=f7e3c4c687f6e4c53b8fe62b19cdac73a568375b Merge branch 'main' of https://github.com/adafruit/Adafruit_Blinka into pwm64fix --- 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")