- JC3636W518 sketches: pioarduino 51.03.05 (Arduino core 3.0.5), ESP32-S3 16MB QIO / OPI PSRAM, vendor libs via lib_extra_dirs, per-project lv_conf.h - display_gif_embedded uses default_16MB.csv (firmware 3.4 MB > huge_app) - elm327_wifi_bridge: espressif32 6.10.0 on esp32dev, pinned lib_deps - elmulator: library in lib/, one env per example, duplicate copies removed - .ino -> src/main.cpp, headers/lv_conf.h -> include/ 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 |