update pins
This commit is contained in:
parent
6d9ebea500
commit
2fa396f497
3 changed files with 4 additions and 7 deletions
Binary file not shown.
|
|
@ -24,7 +24,7 @@ static const uint8_t LED_BUILTIN = PIN_NEOPIXEL+SOC_GPIO_PIN_COUNT;
|
|||
#define RGB_BRIGHTNESS 64
|
||||
|
||||
|
||||
//static const uint8_t TFT_BACKLIGHT = 41;
|
||||
static const uint8_t TFT_BACKLIGHT = 45;
|
||||
static const uint8_t TFT_DC = 40;
|
||||
static const uint8_t TFT_CS = 39;
|
||||
static const uint8_t TFT_RESET = 38;
|
||||
|
|
@ -32,7 +32,7 @@ static const uint8_t TFT_RST = 38;
|
|||
|
||||
static const uint8_t SD_CS = 48;
|
||||
static const uint8_t SD_CHIP_SELECT = 48;
|
||||
static const uint8_t SPEAKER = 41;
|
||||
static const uint8_t SPEAKER = 46;
|
||||
|
||||
static const uint8_t SDA = 33;
|
||||
static const uint8_t SCL = 34;
|
||||
|
|
@ -55,19 +55,16 @@ static const uint8_t DAC2 = 18;
|
|||
|
||||
#define AWEXP_SPKR_SD 0
|
||||
#define AWEXP_BUTTON_SEL 1
|
||||
#define AWEXP_BACKLIGHT 2
|
||||
#define AWEXP_CAM_PWDN 7
|
||||
#define AWEXP_SD_DET 8
|
||||
#define AWEXP_SD_PWR 9
|
||||
#define AWEXP_CAM_RST 10
|
||||
#define AWEXP_BUTTON_OK 11
|
||||
#define AWEXP_BUTTON_RIGHT 12
|
||||
#define AWEXP_BUTTON_UP 13
|
||||
#define AWEXP_BUTTON_LEFT 14
|
||||
#define AWEXP_BUTTON_DOWN 15
|
||||
|
||||
#define PWDN_GPIO_NUM -1 // connected through expander
|
||||
#define RESET_GPIO_NUM -1 // connected through expander
|
||||
#define RESET_GPIO_NUM 47
|
||||
#define PWDN_GPIO_NUM 21
|
||||
#define XCLK_GPIO_NUM 8
|
||||
#define SIOD_GPIO_NUM SDA
|
||||
#define SIOC_GPIO_NUM SCL
|
||||
|
|
|
|||
Binary file not shown.
Loading…
Reference in a new issue