Merge branch 'master' of https://github.com/mrfaptastic/ESP32-HUB75-MatrixPanel-I2S-DMA
This commit is contained in:
commit
c1699bb8fc
2 changed files with 8 additions and 3 deletions
|
@ -8,6 +8,6 @@
|
|||
|BitmapIcons |Simple example of how to display a bitmap image to the display. |
|
||||
|ChainedPanels |Popular example on how to use the 'VirtualDisplay' class to chain multiple LED Matrix Panels to form a much bigger display! Refer to the README within this example's folder! |
|
||||
|ChainedPanelsAuroraDemo |As above, but showing a large trippy plasma animation. |
|
||||
|DoubleBufferSwap |Advanced example of using a back-buffer (double buffering). Not useful for 99% of use cases. |
|
||||
|Smooth Double Buffer |Example of using a back-buffer (double buffering). Not useful in 99.9% of use-cases of this library. Uses double the SRAM as well. |
|
||||
|P6_32x16_1_4_ScanPanel |An advanced example ('hack') on how to use this library on 32w x 16h 1/4 Scan LED Matrix Panel. |
|
||||
|PIO_TestPatterns |Non-Arduino example of how to display basic shapes. |
|
||||
|
|
|
@ -29,7 +29,12 @@ void setup()
|
|||
|
||||
start_x = display->width();
|
||||
}
|
||||
|
||||
/*
|
||||
This example draws a red square on one buffer only, and a green square on another buffer only.
|
||||
It then flips between buffers as fast as possible whilst moving them as well - to give the impression they're both on screen at the same time!
|
||||
|
||||
The only thing that's painted to both buffers is a blue square.
|
||||
*/
|
||||
const int square_size = 16;
|
||||
void loop()
|
||||
{
|
||||
|
@ -63,4 +68,4 @@ void loop()
|
|||
|
||||
if (start_x < (-1*square_size)) start_x = display->width()+square_size;
|
||||
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue