Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

libgpiod_pin_1_x.py does not detect internal pulldowns #840

Open
nolanwinter opened this issue Jun 7, 2024 · 1 comment
Open

libgpiod_pin_1_x.py does not detect internal pulldowns #840

nolanwinter opened this issue Jun 7, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@nolanwinter
Copy link

Board Name

NanoPi Neo

Steps

  1. Update the board to use the newest version of Blink.
  2. Create a digitalio input pin with a pull (pin.switch_to_input(Pull.DOWN)
  3. NotImplementedError is thrown.
  4. Downgrade blinka to version 8.23.0 (for example)
  5. Create a digitalio input pin with a pull (pin.switch_to_input(Pull.DOWN)
  6. No error is thrown.

Description

On the current version of blinka (presumably any version after commit 7e23a36), the ability to use the internal pulldown resistors in the NanoPi Neo is prevented by a NotImplementedError, yet it still works with the old version of Blinka so the error is getting thrown accidently.

Additional information

image
image

@nolanwinter nolanwinter added the bug Something isn't working label Jun 7, 2024
@makermelissa
Copy link
Collaborator

makermelissa commented Jun 7, 2024

Thanks. It was split because it seems to only work on 1 of 3 different version ranges at a time. Pullups probably just need to be added to the version 1.x handler.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants