if pull == self.PULL_UP:
raise NotImplementedError("Internal pullups not supported in libgpiod, use physical resistor instead!")
elif pull == self.PULL_DOWN:
- raise NotImplementedError("Internal pullups not supported in libgpiod, use physical resistor instead!")
+ raise NotImplementedError("Internal pulldowns not supported in libgpiod, use physical resistor instead!")
else:
raise RuntimeError("Invalid pull for pin: %s" % self.id)