I've discovered pigpio and am starting to learn to use it with Python. I thought I would use it to "discover" the pullup status of a pin before setting it, but while mode has both .set_mode()
and .get_mode()
methods as shown in this documentation, there is only the .set_pull_up_down()
method, apparently without a corresponding "getter method".
Question: Is there a way to read the pullup status of a GPIO pin in python with, or if not, without pigpio?
If it is relevant, I have a RPi 3 and using Raspbian 4.4.21-v7+