Heltec ESP32-C3 HT-CT62 support (#2741)
* Add files via upload * Update platformio.ini * Update variant.h * Update platformio.ini * Switch to our new HW_MODEL --------- Co-authored-by: Ben Meadors <benmmeadors@gmail.com> Co-authored-by: Ben Meadors <thebentern@tuta.io>
This commit is contained in:
co-authored by
Ben Meadors
Ben Meadors
parent
5453e4d123
commit
00ffe73ebd
@@ -0,0 +1,36 @@
|
||||
#define I2C_SDA 1
|
||||
#define I2C_SCL 0
|
||||
|
||||
#define BUTTON_PIN 9
|
||||
#define BUTTON_NEED_PULLUP
|
||||
|
||||
// LED flashes brighter
|
||||
// https://resource.heltec.cn/download/HT-CT62/HT-CT62_Reference_Design.pdf
|
||||
#define LED_PIN 18 // LED
|
||||
#define LED_INVERTED 1
|
||||
|
||||
#define HAS_SCREEN 0
|
||||
#define HAS_GPS 0
|
||||
#undef GPS_RX_PIN
|
||||
#undef GPS_TX_PIN
|
||||
|
||||
#undef RF95_SCK
|
||||
#undef RF95_MISO
|
||||
#undef RF95_MOSI
|
||||
#undef RF95_NSS
|
||||
|
||||
#define USE_SX1262
|
||||
#define RF95_SCK 10
|
||||
#define RF95_MISO 6
|
||||
#define RF95_MOSI 7
|
||||
#define RF95_NSS 8
|
||||
#define LORA_DIO0 RADIOLIB_NC
|
||||
#define LORA_RESET 5
|
||||
#define LORA_DIO1 3
|
||||
#define LORA_DIO2 RADIOLIB_NC
|
||||
#define LORA_BUSY 4
|
||||
#define SX126X_CS RF95_NSS
|
||||
#define SX126X_DIO1 LORA_DIO1
|
||||
#define SX126X_BUSY LORA_BUSY
|
||||
#define SX126X_RESET LORA_RESET
|
||||
#define SX126X_E22
|
||||
Reference in New Issue
Block a user