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

Added ORANGE_PI_PC2 #356

Merged
merged 2 commits into from
Jun 3, 2024
Merged

Added ORANGE_PI_PC2 #356

merged 2 commits into from
Jun 3, 2024

Conversation

nopnop2002
Copy link
Contributor

@nopnop2002 nopnop2002 commented Jun 1, 2024

ORANGE_PI_2 is present, but ORANGE_PI_PC2 is not.

ORANGE_PI_2 and ORANGE_PI_PC2 are different boards.

orangepi was released in this order.
Orangepi -> Orangepi 2 -> Orangepi PC -> Orangepi PC2 -> Orangepi 3 -> Orangepi 4 -> Orangepi 5.

$ cat platformdetect.py
from adafruit_platformdetect import Detector
detector = Detector()
print("Chip id: ", detector.chip.id)
print("Board id: ", detector.board.id)

$ python3 ./platformdetect.py
Chip id:  H5
Board id:  ORANGE_PI_PC2

Copy link
Collaborator

@makermelissa makermelissa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks

@makermelissa makermelissa merged commit 07f06c6 into adafruit:main Jun 3, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants