-
Notifications
You must be signed in to change notification settings - Fork 48
Home
Eli Saado edited this page Apr 6, 2021
·
9 revisions
This class aims to make using an X/Y/Z matrix of LED's in FastLED much simpler by allowing you to use X/Y to access it.
The CRGB led array for FastLED is allocated within the class.
It adds several mirroring and primitive line and shape drawing functions.
It copes with many wiring schemes while still allowing (0,0) to be defined as any of the corners.
The class is templated to make the X/Y calculation for different wiring methods as efficient as possible.
Using this class makes it very easy to swap between matrices wired in different ways.