diff options
| author | mrfaptastic <12006953+mrfaptastic@users.noreply.github.com> | 2021-12-23 01:10:40 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-12-23 01:10:40 +0000 |
| commit | a4fd7803b654f570708f14cc12bcd88afa868904 (patch) | |
| tree | 49fe8e8ed0fa86a597f678a499d63f4e8853b049 /examples | |
| parent | 7ba611f81f904e13c07ec7713ddf5296b8460348 (diff) | |
Update ChainedPanelsScreenBuffer.ino
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/ChainedPanelsScreenBuffer/ChainedPanelsScreenBuffer.ino | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/examples/ChainedPanelsScreenBuffer/ChainedPanelsScreenBuffer.ino b/examples/ChainedPanelsScreenBuffer/ChainedPanelsScreenBuffer.ino index 63bf6c2..cef271e 100644 --- a/examples/ChainedPanelsScreenBuffer/ChainedPanelsScreenBuffer.ino +++ b/examples/ChainedPanelsScreenBuffer/ChainedPanelsScreenBuffer.ino @@ -119,7 +119,7 @@ /* A crap demonstration of using the pixel buffer. * 1) Draw text at an incrementing (going down) y coordinate - * 2) Move down a pixel rows + * 2) Move down a pixel row * 3) Draw the text again, fade the 'old' pixels. Using the pixel buffer to update all pixels on screen. * 4) 'show' (send) the pixel buffer to the DMA output. * 5) LOOP @@ -130,12 +130,9 @@ void loop() { - // draw text with a rotating colour FastLED_Pixel_Buff->dimAll(200); // Dim all pixels by 250/255 - - FastLED_Pixel_Buff->fillCircle(40, 21, 10, dma_display->color444(15, 0, 15)); - + FastLED_Pixel_Buff->setTextSize(1); // size 1 == 8 pixels high FastLED_Pixel_Buff->setTextWrap(false); // Don't wrap at end of line - will do ourselves @@ -153,4 +150,4 @@ delay(35); - } // end loop
\ No newline at end of file + } // end loop |
