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

NameError: name 'Pin' is not defined (ATOMIC PI) #767

Closed
rohanrehman opened this issue Jan 1, 2024 · 1 comment
Closed

NameError: name 'Pin' is not defined (ATOMIC PI) #767

rohanrehman opened this issue Jan 1, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@rohanrehman
Copy link

Board Name

ATOMIC PI

Steps

Following official guide get's an error.
I have updated need files as per https://learn.adafruit.com/adding-a-single-board-computer-to-blinka/overview
when trying a basic test of GPIO control

    pin = digitalio.DigitalInOut(board.D7)
  File "/usr/local/lib/python3.8/dist-packages/digitalio.py", line 183, in __init__
    self._pin = Pin(pin.id)
NameError: name 'Pin' is not defined

Chip and board is correctly detected.
Atomic Pi own python library is also working as well as "gpioset" functions.

Description

No response

Additional information

No response

@rohanrehman rohanrehman added the bug Something isn't working label Jan 1, 2024
@rohanrehman
Copy link
Author

Closed as PWM GPIO is a requirement, Atomic Pi has no PWM GPIO’s.

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

1 participant