Skip to content

Expose EPixelType to consumers#18

Open
maiswan wants to merge 1 commit intovanshksingh:mainfrom
maiswan:patch-1
Open

Expose EPixelType to consumers#18
maiswan wants to merge 1 commit intovanshksingh:mainfrom
maiswan:patch-1

Conversation

@maiswan
Copy link

@maiswan maiswan commented Feb 27, 2026

Currently if consumers need to specify the color order, they need to import EPixelType manually by path:

from pi5neo import Pi5Neo
from pi5neo.pi5neo import EPixelType

pixels = Pi5Neo(pixel_type = EPixelType.RGBW)

This PR exposes EPixelType in __init__.py, so consumers simply call:

from pi5neo import EPixelType, Pi5Neo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant