@@ -24,15 +24,15 @@ static const uint8_t LED_BUILTIN = PIN_NEOPIXEL+SOC_GPIO_PIN_COUNT;
24
24
#define RGB_BRIGHTNESS 64
25
25
26
26
27
- // static const uint8_t TFT_BACKLIGHT = 41 ;
27
+ static const uint8_t TFT_BACKLIGHT = 45 ;
28
28
static const uint8_t TFT_DC = 40 ;
29
29
static const uint8_t TFT_CS = 39 ;
30
30
static const uint8_t TFT_RESET = 38 ;
31
31
static const uint8_t TFT_RST = 38 ;
32
32
33
33
static const uint8_t SD_CS = 48 ;
34
34
static const uint8_t SD_CHIP_SELECT = 48 ;
35
- static const uint8_t SPEAKER = 41 ;
35
+ static const uint8_t SPEAKER = 46 ;
36
36
37
37
static const uint8_t SDA = 33 ;
38
38
static const uint8_t SCL = 34 ;
@@ -55,19 +55,16 @@ static const uint8_t DAC2 = 18;
55
55
56
56
#define AWEXP_SPKR_SD 0
57
57
#define AWEXP_BUTTON_SEL 1
58
- #define AWEXP_BACKLIGHT 2
59
- #define AWEXP_CAM_PWDN 7
60
58
#define AWEXP_SD_DET 8
61
59
#define AWEXP_SD_PWR 9
62
- #define AWEXP_CAM_RST 10
63
60
#define AWEXP_BUTTON_OK 11
64
61
#define AWEXP_BUTTON_RIGHT 12
65
62
#define AWEXP_BUTTON_UP 13
66
63
#define AWEXP_BUTTON_LEFT 14
67
64
#define AWEXP_BUTTON_DOWN 15
68
65
69
- #define PWDN_GPIO_NUM -1 // connected through expander
70
- #define RESET_GPIO_NUM -1 // connected through expander
66
+ #define RESET_GPIO_NUM 47
67
+ #define PWDN_GPIO_NUM 21
71
68
#define XCLK_GPIO_NUM 8
72
69
#define SIOD_GPIO_NUM SDA
73
70
#define SIOC_GPIO_NUM SCL
0 commit comments