meshtastic-firmware/variants/betafpv_2400_tx_micro/variant.h

37 wiersze
960 B
C
Czysty Zwykły widok Historia

2023-01-21 13:34:29 +00:00
// https://betafpv.com/products/elrs-micro-tx-module
2023-01-07 11:01:14 +00:00
2023-01-07 11:22:32 +00:00
// 0.96" OLED
2023-01-21 13:34:29 +00:00
#define I2C_SDA 22
#define I2C_SCL 32
2023-01-07 11:01:14 +00:00
// NO GPS
#undef GPS_RX_PIN
#undef GPS_TX_PIN
#define LORA_SCK 18
#define LORA_MISO 19
#define LORA_MOSI 23
#define LORA_CS 5
2023-01-21 13:34:29 +00:00
#define RF95_FAN_EN 17
2023-01-07 11:01:14 +00:00
2024-04-22 15:37:05 +00:00
// #define LED_PIN 16 // This is a LED_WS2812 not a standard LED
#define HAS_NEOPIXEL // Enable the use of neopixels
#define NEOPIXEL_COUNT 1 // How many neopixels are connected
#define NEOPIXEL_DATA 16 // gpio pin used to send data to the neopixels
#define NEOPIXEL_TYPE (NEO_GRB + NEO_KHZ800) // type of neopixels in use
2023-01-07 11:01:14 +00:00
2023-01-21 13:34:29 +00:00
#define BUTTON_PIN 25
2023-01-07 11:01:14 +00:00
#define BUTTON_NEED_PULLUP
#undef EXT_NOTIFY_OUT
// SX128X 2.4 Ghz LoRa module
#define USE_SX1280
2023-01-21 13:34:29 +00:00
#define LORA_RESET 14
#define SX128X_CS 5
#define SX128X_DIO1 4
#define SX128X_BUSY 21
#define SX128X_TXEN 26
#define SX128X_RXEN 27
2023-01-07 11:01:14 +00:00
#define SX128X_RESET LORA_RESET
2024-04-22 15:37:05 +00:00
#define SX128X_MAX_POWER 13