Merge branch 'master' into trials
This commit is contained in:
commit
521e5b0a57
4 changed files with 13 additions and 9 deletions
|
@ -25,11 +25,12 @@
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
#ifndef MATRIX_WIDTH
|
#ifndef MATRIX_WIDTH
|
||||||
#define MATRIX_WIDTH 64 // CHANGE THIS VALUE IF CHAINING
|
#define MATRIX_WIDTH 64 // Single panel of 64 pixel width
|
||||||
|
// #define MATRIX_WIDTH 64*4 // Example of chaining four (4) panels. Need to multiply the width.
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef MATRIX_HEIGHT
|
#ifndef MATRIX_HEIGHT
|
||||||
#define MATRIX_HEIGHT 32 // CHANGE THIS VALUE ONLY IF USING 64px HIGH panel with E PIN
|
#define MATRIX_HEIGHT 32 // CHANGE THIS VALUE to 64 IF USING 64px HIGH panel(s) with E PIN
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Best to keep these values as is. */
|
/* Best to keep these values as is. */
|
||||||
|
|
|
@ -7,7 +7,7 @@ As a result, this library can theoretically provide ~16-24 bit colour, at variou
|
||||||
## Panels Supported
|
## Panels Supported
|
||||||
* 64x32 pixel 1/16 Scan LED Matrix 'Indoor' Panel, such as this [typical RGB panel available for purchase](https://www.aliexpress.com/item/256-128mm-64-32-pixels-1-16-Scan-Indoor-3in1-SMD2121-RGB-full-color-P4-led/32810362851.html).
|
* 64x32 pixel 1/16 Scan LED Matrix 'Indoor' Panel, such as this [typical RGB panel available for purchase](https://www.aliexpress.com/item/256-128mm-64-32-pixels-1-16-Scan-Indoor-3in1-SMD2121-RGB-full-color-P4-led/32810362851.html).
|
||||||
* 64x64 pixel 1/32 Scan LED Matrix 'Indoor' Panel.
|
* 64x64 pixel 1/32 Scan LED Matrix 'Indoor' Panel.
|
||||||
* [FM6126](FM6126A.md) panels based on [this example](/examples/FM6126Panel) will also work with the correct initialisation.
|
* [FM6126](FM6126A.md) / ICN2038S panels based on [this example](/examples/FM6126Panel) will also work with the correct initialisation.
|
||||||
|
|
||||||
## Panels Not Supported
|
## Panels Not Supported
|
||||||
* 1/8 Scan LED Matrix Panels are not supported, please use an alternative library if you bought one of these.
|
* 1/8 Scan LED Matrix Panels are not supported, please use an alternative library if you bought one of these.
|
||||||
|
|
|
@ -5,10 +5,13 @@
|
||||||
|
|
||||||
1) In ESP32-HUB75-MatrixPanel-I2S-DMA.h:
|
1) In ESP32-HUB75-MatrixPanel-I2S-DMA.h:
|
||||||
|
|
||||||
- Set the MATRIX_HEIGHT to be the y resolution of the physical chained
|
- Set the MATRIX_HEIGHT to be the y resolution of a physical chained
|
||||||
panels in a line (if the panels are 32 x 16, set it to be 16)
|
panels in the line (as panels each must be of the same dimensions).
|
||||||
|
i.e. If you are chaining 32px 'high' panels, then set MATRIX_HEIGHT to 32.
|
||||||
|
|
||||||
- Set the MATRIX_WIDTH to be the sum of the x resolution of all the physical
|
- Set the MATRIX_WIDTH to be the sum of the x resolution of all the physical
|
||||||
chained panels (i.e. If you have 4 x (32px w x 16px h) panels, 32x4 = 128)
|
chained panels (i.e. If you have 4 (four) x (64px w x 32px h) panels, then 64x4 = 256)
|
||||||
|
i.e. The total pixel 'width' of all the chained panels.
|
||||||
|
|
||||||
2) In the sketch (i.e. this example):
|
2) In the sketch (i.e. this example):
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue