- Move user sketches to 10-OBD-Display-2024/, one folder per sketch - Keep 2-Program Example/Demo_Arduino vendor-only, single docs/ copy - Remove duplicate screenshots/instructions and ELMulator zip - Archive broken LVGL 9 attempt Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
38 lines
783 B
C
38 lines
783 B
C
#ifndef _PINCFG_H_
|
|
#define _PINCFG_H_
|
|
|
|
#define TFT_BLK 15
|
|
|
|
#define TFT_RST 47
|
|
#define TFT_CS 10
|
|
#define TFT_SCK 9
|
|
#define TFT_SDA0 11
|
|
#define TFT_SDA1 12
|
|
#define TFT_SDA2 13
|
|
#define TFT_SDA3 14
|
|
|
|
#define BTN_PIN 0
|
|
|
|
#define TOUCH_PIN_NUM_I2C_SCL 8
|
|
#define TOUCH_PIN_NUM_I2C_SDA 7
|
|
#define TOUCH_PIN_NUM_INT 41
|
|
#define TOUCH_PIN_NUM_RST 40
|
|
|
|
#define SD_MMC_D0_PIN 2
|
|
#define SD_MMC_D1_PIN 1
|
|
#define SD_MMC_D2_PIN 6
|
|
#define SD_MMC_D3_PIN 5
|
|
#define SD_MMC_CLK_PIN 3
|
|
#define SD_MMC_CMD_PIN 4
|
|
|
|
#define AUDIO_I2S_MCK_IO -1 // MCK
|
|
#define AUDIO_I2S_BCK_IO 18 // BCK
|
|
#define AUDIO_I2S_WS_IO 16 // LCK
|
|
#define AUDIO_I2S_DO_IO 17 // DIN
|
|
#define AUDIO_MUTE_PIN 48 // 低电平静音
|
|
|
|
#define MIC_I2S_WS 45
|
|
#define MIC_I2S_SD 46
|
|
#define MIC_I2S_SCK 42
|
|
|
|
#endif |