Gets the pin mode of the port we're set to. :returns: The pin mode of the port. :rtype: str See more about pin modes in :py:meth:`~easysensors.Sensor.__init__`'s description.
(self)
| 294 | self.pinmode = pinmode |
| 295 | |
| 296 | def get_pin_mode(self): |
| 297 | """ |
| 298 | Gets the pin mode of the port we're set to. |
| 299 | |
| 300 | :returns: The pin mode of the port. |
| 301 | :rtype: str |
| 302 | |
| 303 | See more about pin modes in :py:meth:`~easysensors.Sensor.__init__`'s description. |
| 304 | |
| 305 | """ |
| 306 | return (self.pinmode) |
| 307 | |
| 308 | # def is_analog(self): |
| 309 | # return (self.pin == ANALOG) |
no outgoing calls
no test coverage detected