mirror of
https://github.com/meshtastic/firmware.git
synced 2025-12-19 09:12:45 +00:00
Move to new variant structure and refactor inkHUD - Display does not work and SX1262 init fails on HT752-02
This commit is contained in:
committed by
Tom Fifield
parent
bfcc6f5bd7
commit
0c8e7481f4
27
variants/esp32s3/t5s3_epaper/pins_arduino.h
Normal file
27
variants/esp32s3/t5s3_epaper/pins_arduino.h
Normal file
@@ -0,0 +1,27 @@
|
||||
#ifndef Pins_Arduino_h
|
||||
#define Pins_Arduino_h
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
#define USB_VID 0x303a
|
||||
#define USB_PID 0x1001
|
||||
|
||||
// The default Wire will be mapped to RTC and Touch
|
||||
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;
|
||||
static const uint8_t MOSI = 17;
|
||||
static const uint8_t MISO = 8;
|
||||
static const uint8_t SCK = 18;
|
||||
|
||||
// Default SPI1 will be mapped to SD Card
|
||||
#define SPI_MOSI (13)
|
||||
#define SPI_SCK (14)
|
||||
#define SPI_MISO (21)
|
||||
#define SPI_CS (16)
|
||||
|
||||
#define SDCARD_CS SPI_CS
|
||||
|
||||
#endif /* Pins_Arduino_h */
|
||||
Reference in New Issue
Block a user