Skip to content

Support for uint32_t RGB values#15

Open
Aerospacesmith wants to merge 9 commits intoadafruit:masterfrom
Aerospacesmith:master
Open

Support for uint32_t RGB values#15
Aerospacesmith wants to merge 9 commits intoadafruit:masterfrom
Aerospacesmith:master

Conversation

@Aerospacesmith
Copy link
Copy Markdown

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