Move to new variant structure and refactor inkHUD - Display does not work and SX1262 init fails on HT752-02

This commit is contained in:
Thomas Göttgens
2025-08-07 14:03:14 +02:00
committed by Tom Fifield
parent bfcc6f5bd7
commit 0c8e7481f4
4 changed files with 3 additions and 15 deletions

View 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 */