修改变体
This commit is contained in:
@@ -27,8 +27,34 @@ extern "C" {
|
||||
#undef GPS_RX_PIN
|
||||
#undef GPS_TX_PIN
|
||||
|
||||
|
||||
#define E220_400M30S
|
||||
//#define E220_400M33S
|
||||
//#define E22_400M33S
|
||||
|
||||
#ifdef E220_400M30S
|
||||
// LoRa - E220-400M30S (LLCC68, 433MHz, 30dBm/1W module with PA)
|
||||
#define USE_LLCC68
|
||||
#define TX_GAIN_LORA 8
|
||||
#define SX126X_MAX_POWER 22
|
||||
#endif
|
||||
|
||||
#ifdef E220_400M33S
|
||||
// LoRa - E220-400M33S (LLCC68, 433MHz, 33dBm/2W module with PA)
|
||||
#define USE_LLCC68
|
||||
#define TX_GAIN_LORA 11
|
||||
#define SX126X_MAX_POWER 22
|
||||
#endif
|
||||
|
||||
#ifdef E22_400M33S
|
||||
// LoRa - E22-400M33S (SX1268, 433MHz, 33dBm/2W module with PA)
|
||||
#define USE_SX1268
|
||||
#define NUM_PA_POINTS 1
|
||||
#define TX_GAIN_LORA 25
|
||||
#define SX126X_MAX_POWER 8
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
#define LORA_SCK 10
|
||||
#define LORA_MISO 6
|
||||
|
||||
Reference in New Issue
Block a user