Update README.md
This commit is contained in:
@@ -189,7 +189,7 @@ Like brightness, this is applied by show() to frame buffer, not to your drawing
|
||||
These are not part of display objects, call them without object specifier. Unlike brightness and
|
||||
balance, these functions operate on your drawing buffer.
|
||||
|
||||
* void fadeToColorBy(void* leds, uint16_t count, uint32_t color, uint8_t fadeAmt);
|
||||
### void fadeToColorBy(void* leds, uint16_t count, uint32_t color, uint8_t fadeAmt);
|
||||
|
||||
Fades drawing array towards the background color by amount. It is used just like FastLED's
|
||||
fadeToBlackBy().
|
||||
@@ -198,7 +198,7 @@ fadeToBlackBy().
|
||||
|
||||
fadeToColorBy( myCube, 16*16*16, 0xFF8000, 20 ); //fades towards orange by 20/255ths
|
||||
|
||||
* void drawSquare(void* leds, uint16_t planeY, uint16_t planeX, int yCorner, int xCorner, uint size,
|
||||
### void drawSquare(void* leds, uint16_t planeY, uint16_t planeX, int yCorner, int xCorner, uint size,
|
||||
uint32_t color);
|
||||
|
||||
Safely draws box in given RGB color on LED plane. cornerY and cornerX specify the lower left
|
||||
@@ -209,4 +209,4 @@ partially fits on LED plane.
|
||||
|
||||
//draws a red 10x10 square on the 3rd 16x16 plane of myCube, lower left corner anchored at
|
||||
//col = row = 4.
|
||||
drawSquare( &myCube[2][0][0], 16, 16, 4, 4, 10, 0xFF0000 );
|
||||
drawSquare( &myCube[2][0][0], 16, 16, 4, 4, 10, 0xFF0000 );
|
||||
|
||||
Reference in New Issue
Block a user