From 975597c9649aefb910e2408eefcdac98bf327f83 Mon Sep 17 00:00:00 2001 From: KurtMF Date: Sun, 24 Nov 2024 16:53:07 -0500 Subject: [PATCH] Update README.md --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index f9edc94..39d59b9 100644 --- a/README.md +++ b/README.md @@ -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 ); \ No newline at end of file + drawSquare( &myCube[2][0][0], 16, 16, 4, 4, 10, 0xFF0000 );