Files
firmware/variants/esp32s3/t5s3_epaper/pins_arduino.h

44 lines
988 B
C
Raw Normal View History

2025-04-18 19:23:51 +02:00
#ifndef Pins_Arduino_h
#define Pins_Arduino_h
#include <stdint.h>
#define USB_VID 0x303a
#define USB_PID 0x1001
2025-10-19 21:41:44 +02:00
#if defined(T5_S3_EPAPER_PRO_V1)
// The default Wire will be mapped to RTC, Touch, BQ25896, and BQ27220
static const uint8_t SDA = 6;
static const uint8_t SCL = 5;
// Default SPI will be mapped to Radio
static const uint8_t SS = 46;
static const uint8_t MOSI = 17;
static const uint8_t MISO = 8;
static const uint8_t SCK = 18;
#define SPI_MOSI (17)
#define SPI_SCK (18)
#define SPI_MISO (8)
#define SPI_CS (16)
#else // T5_S3_EPAPER_PRO_V2
// The default Wire will be mapped to RTC, Touch, PCA9535, BQ25896, and BQ27220
2025-04-18 19:23:51 +02:00
static const uint8_t SDA = 39;
static const uint8_t SCL = 40;
// Default SPI will be mapped to Radio
static const uint8_t SS = 46;
2025-10-19 20:40:29 +02:00
static const uint8_t MOSI = 13;
static const uint8_t MISO = 21;
static const uint8_t SCK = 14;
2025-04-18 19:23:51 +02:00
#define SPI_MOSI (13)
#define SPI_SCK (14)
#define SPI_MISO (21)
2025-10-18 20:51:49 +02:00
#define SPI_CS (12)
2025-04-18 19:23:51 +02:00
2025-10-19 21:41:44 +02:00
#endif
2025-04-18 19:23:51 +02:00
#endif /* Pins_Arduino_h */