Files
xiaozhi-esp32/main/boards/lilygo-t-circle-s3/pin_config.h
LILYGO_L e1ff22e4d6 Adapt for LilyGO-T-Circle-S3 device (#89)
* Adapt for LilyGO-T-Circle-S3 device

* Adapt for LilyGO-T-Circle-S3 device

* Remove comments and modify the size of the lilygo-t-circle-s3 image

* Modify the code style and format to Google C++

* Modify the code style and format to Google C++

---------

Co-authored-by: Xiaoxia <terrence@tenclass.com>
2025-01-23 20:58:14 +08:00

48 lines
773 B
C

/*
* @Description: None
* @Author: LILYGO_L
* @Date: 2023-08-16 14:24:03
* @LastEditTime: 2025-01-20 10:11:16
* @License: GPL 3.0
*/
#pragma once
// MAX98357A
#define MAX98357A_BCLK 5
#define MAX98357A_LRCLK 4
#define MAX98357A_DATA 6
#define MAX98357A_SD_MODE 45
// MSM261
#define MSM261_BCLK 7
#define MSM261_WS 9
#define MSM261_DATA 8
// APA102
#define APA102_DATA 38
#define APA102_CLOCK 39
// H0075Y002-V0
#define LCD_WIDTH 160
#define LCD_HEIGHT 160
#define LCD_MOSI 17
#define LCD_SCLK 15
#define LCD_DC 16
#define LCD_RST -1
#define LCD_CS 13
#define LCD_BL 18
// IIC
#define IIC_SDA 11
#define IIC_SCL 14
// CST816D
#define TP_SDA 11
#define TP_SCL 14
#define TP_RST -1
#define TP_INT 12
//Rotary Encoder
#define KNOB_DATA_A 47
#define KNOB_DATA_B 48