-
Notifications
You must be signed in to change notification settings - Fork 0
/
config-esp32-mini32.txt
59 lines (48 loc) · 1.83 KB
/
config-esp32-mini32.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
#define CONFIG_STATUS_LED_PIN 2
#define CONFIG_STATUS_LED_POL HIGH
#define CONFIG_STATUS_TONE_PIN 33
#define CONFIG_BUTTON_PIN 12
/* ______
/ /|
+-----+ |
R1 | o o | |G1
B1 | o o | |(GND)
R2 |/o o | |G2
B2 o o | |(GND) E on HUB75E
A /o o | |B
C | o o | |D
CLK | o o | |LAT(CH) (STB)
(BLANK) OE | o o |/ GND
+-----+
*/
#define CONFIG_LEDDISPLAY_R1_GPIO 32
#define CONFIG_LEDDISPLAY_G1_GPIO 4 // 15
#define CONFIG_LEDDISPLAY_B1_GPIO 15 // 4
#define CONFIG_LEDDISPLAY_R2_GPIO 16
#define CONFIG_LEDDISPLAY_G2_GPIO 17 // 27
#define CONFIG_LEDDISPLAY_B2_GPIO 27 // 17
#define CONFIG_LEDDISPLAY_A_GPIO 5
#define CONFIG_LEDDISPLAY_B_GPIO 18
#define CONFIG_LEDDISPLAY_C_GPIO 19
#define CONFIG_LEDDISPLAY_D_GPIO 21
#define CONFIG_LEDDISPLAY_E_GPIO 23
#define CONFIG_LEDDISPLAY_LAT_GPIO 26
#define CONFIG_LEDDISPLAY_OE_GPIO 25
#define CONFIG_LEDDISPLAY_CLK_GPIO 22
// #define CONFIG_LEDDISPLAY_TYPE_32X16_4SCAN 1
// #define CONFIG_LEDDISPLAY_TYPE_32X16_8SCAN 1
// #define CONFIG_LEDDISPLAY_TYPE_32X32_8SCAN 1
// #define CONFIG_LEDDISPLAY_TYPE_32X32_16SCAN 1
// #define CONFIG_LEDDISPLAY_TYPE_64X32_8SCAN 1
// #define CONFIG_LEDDISPLAY_TYPE_64X32_16SCAN 1
#define CONFIG_LEDDISPLAY_TYPE_64X64_32SCAN 1
// #define CONFIG_LEDDISPLAY_I2S_FREQ_13MHZ 1
//#define CONFIG_LEDDISPLAY_I2S_FREQ_16MHZ 1
//#define CONFIG_LEDDISPLAY_I2S_FREQ_20MHZ 1
#define CONFIG_LEDDISPLAY_I2S_FREQ_26MHZ 1
#define CONFIG_LEDDISPLAY_PRESERVE_RAM_SIZE 110000
#define CONFIG_LEDDISPLAY_MIN_FRAME_RATE 55
//#define CONFIG_LEDDISPLAY_MIN_FRAME_RATE 35
// #define CONFIG_LEDDISPLAY_CORR_BRIGHT_NONE 1
// #define CONFIG_LEDDISPLAY_CORR_BRIGHT_STRICT 1
#define CONFIG_LEDDISPLAY_CORR_BRIGHT_MODIFIED 1