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

Support for uint32_t RGB values #15

Open
wants to merge 9 commits into
base: master
Choose a base branch
from

Conversation

Aerospacesmith
Copy link

Added method Color(r,g,b); to support conversion to uint32 rgb variable and added methods for Color333,Color444, etc. to accept uint32_t variables.

Example:
uint32_t ORANGE = matrix.Color(7,3,0);
matrix.drawLine(X1,Y1,X2,Y2,matrix.Color333(ORANGE));

Added unit32_t color support
Added unit32_t color support
Added Color method to pack r,g,b values into a single unit32_t value
Added Color method to pack r,g,b values into a single unit32_t value
r,g,b to uint32_t support
r,g,b to uint32_t support
Fix Color888, again
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.

1 participant