2bb99cd0f985cef1314e12059569e2c9214794cd
Board/IDD/IDD1013-DAT/IDD1013-DAT.md
... | ... | @@ -33,19 +33,19 @@ Old V1 version: |
33 | 33 | - Please notice for PCIO, CLK = 32, D = 33 |
34 | 34 | |
35 | 35 | |
36 | -## Code And Test Demo |
|
36 | +### Library Setup |
|
37 | 37 | |
38 | 38 | - lib: https://github.com/mrfaptastic/ESP32-HUB75-MatrixPanel-I2S-DMA |
39 | +- tested sketch: https://github.com/Edragon/Arduino-ESP32/tree/master/Sketchbook/Matrix-panel/IDD1013 |
|
39 | 40 | |
41 | +Please notice the library updated default setup file |
|
42 | +- new setup file: esp32-default-pins.cpp |
|
43 | +- old setup file: #include <ESP32-HUB75-MatrixPanel-I2S-DMA.h> |
|
40 | 44 | |
41 | 45 | |
42 | -### new lib pin definitions (use this one ) |
|
43 | - |
|
44 | -Matched with board definition |
|
45 | -- tested sketch: https://github.com/Edragon/Arduino-ESP32/tree/master/Sketchbook/Matrix-panel/IDD1013 |
|
46 | - |
|
46 | +### DEVKITC Board pin definitions |
|
47 | 47 | |
48 | - // file: esp32-default-pins.cpp |
|
48 | +notice the differences of pin CLK and D |
|
49 | 49 | |
50 | 50 | #define R1_PIN_DEFAULT 25 |
51 | 51 | #define G1_PIN_DEFAULT 26 |
... | ... | @@ -65,20 +65,8 @@ Matched with board definition |
65 | 65 | #define CLK_PIN_DEFAULT 16 // pin for devkitc, for PCIO please go IO32 |
66 | 66 | |
67 | 67 | |
68 | -// setup for matrix size |
|
69 | - |
|
70 | -/*--------------------- MATRIX LILBRARY CONFIG -------------------------*/ |
|
71 | -#define PANEL_RES_X 64 // Number of pixels wide of each INDIVIDUAL panel module. |
|
72 | -#define PANEL_RES_Y 32 // Number of pixels tall of each INDIVIDUAL panel module. |
|
73 | -#define PANEL_CHAIN 1 // Total number of panels chained one to another |
|
74 | - |
|
75 | - |
|
76 | - |
|
77 | -### old setup file |
|
78 | 68 | |
79 | - #include <ESP32-HUB75-MatrixPanel-I2S-DMA.h> |
|
80 | - |
|
81 | -### old board pin definitions (obselete) |
|
69 | +### PICO Board pin definitions |
|
82 | 70 | |
83 | 71 | #define R1_PIN_DEFAULT 25 |
84 | 72 | #define G1_PIN_DEFAULT 26 |
... | ... | @@ -98,21 +86,27 @@ Matched with board definition |
98 | 86 | #define CLK_PIN_DEFAULT 32 |
99 | 87 | |
100 | 88 | |
89 | +### setup for matrix size |
|
90 | + |
|
91 | +/*--------------------- MATRIX LILBRARY CONFIG -------------------------*/ |
|
92 | +#define PANEL_RES_X 64 // Number of pixels wide of each INDIVIDUAL panel module. |
|
93 | +#define PANEL_RES_Y 32 // Number of pixels tall of each INDIVIDUAL panel module. |
|
94 | +#define PANEL_CHAIN 1 // Total number of panels chained one to another |
|
95 | + |
|
96 | + |
|
97 | + |
|
101 | 98 | ### ENV |
102 | 99 | - [[arduino-IDE-DAT]] - 1.8.19 |
103 | 100 | - lib - version 3.0.5 |
104 | 101 | - esp32 2.0.6 |
105 | 102 | |
106 | 103 | |
107 | - |
|
108 | - |
|
109 | 104 | ### note |
110 | 105 | |
111 | 106 | - Tedted with a 32 x 64 panel or 32 x 32 |
112 | 107 | - 64 x 64 will need to setup E-line |
113 | 108 | - result |
114 | 109 | |
115 | - |
|
116 | 110 | ![](32-17-14-03-02-2023.png) |
117 | 111 | |
118 | 112 | - [[IDD1013]] |
... | ... | \ No newline at end of file |