-
Notifications
You must be signed in to change notification settings - Fork 48
3.Function List
This will return the number of elements in the CRGB led array.
This returns the width (X) of the matrix.
This returns the height (Y) of the matrix.
This will shift the all the leds left one column and blank the right edge.
This will shift the all the leds right one column and blank the left edge.
This will shift the all the leds up one line and blank the bottom edge.
This will shift the all the leds down one line and blank the top edge.
Draws a line from (x0,y0) to (x1,y1) using Col.
Draws a rectangle frame with bottom left corner (x0,y0) and upper right corner of (x1,y1) using Col.
Draws a circle frame with a centre (xc,yc) and a radius (r) using Col.
Draws a filled rectangle with bottom left corner (x0,y0) and upper right corner of (x1,y1) using Col.
Draws a filled circle with a centre (xc,yc) and a radius (r) using Col.
Mirrors the left side to the right side. If there are an odd number of columns the centre column will not be mirrored.
Mirrors the bottom half to the top half. If there are an odd number of rows the centre row will not be mirrored.
Mirrors the bottom left quadrant to the bottom right quadrant, then mirrors the bottom half to the top half.
Mirrors the bottom left quadrant with a 90 degree turn to the top left quadrant and repeats with the top and bottom right quadrants.
Mirrors the triangle based in the top left corner to the bottom right corner. Works best with equal sized matrices that have an odd number of rows / columns.
Mirrors the triangle based in the bottom left corner to the top right corner. Works best with equal sized matrices that have an odd number of rows / columns.
Based on the bottom left quadrant it mirrors the top left corner triangle to the bottom right corner and then it mirrors this to the other three quadrants. Works best with equal sized matrices that have an odd number of rows / columns.
Based on the bottom left quadrant it mirrors the bottom left corner triangle to the top right corner and then it mirrors this to the other three quadrants. Works best with equal sized matrices that have an odd number of rows / columns.