Skip to content

Conversation

RealOrangeOne
Copy link
Member

Fixes #15

@RealOrangeOne RealOrangeOne requested a review from a team June 5, 2025 17:14
Comment on lines +28 to +29
class RobotLEDPin(IntEnum):
"""Pin for a corresponding LED channel"""
Copy link
Collaborator

Choose a reason for hiding this comment

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

Not a pin

Suggested change
class RobotLEDPin(IntEnum):
"""Pin for a corresponding LED channel"""
class RobotLedGpio(IntEnum):
"""GPIO for a corresponding LED channel"""

Copy link
Member Author

Choose a reason for hiding this comment

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

It's the GPIO pin number, right? That feels accurate enough

Copy link
Collaborator

Choose a reason for hiding this comment

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

No, this is the GPIO number which differs from the pin number.

https://raspi.tv/2013/rpi-gpio-basics-4-setting-up-rpi-gpio-numbering-systems-and-inputs

Copy link
Member Author

Choose a reason for hiding this comment

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

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.

Unify around enums being singular
2 participants