Adapted to T3 S3 V1.2 without PA
This commit is contained in:
parent
f130095a06
commit
227e29e2d9
19 changed files with 295 additions and 55 deletions
|
|
@ -25,8 +25,15 @@
|
|||
#define DIO1 9
|
||||
#define DIO2 -1//33
|
||||
#define DIO3 -1//34
|
||||
#ifdef LILYGO_T3_S3_V1_0
|
||||
#define RX_EN 21
|
||||
#define TX_EN 10
|
||||
#define TX_POWER 3
|
||||
#else
|
||||
#define RX_EN -1
|
||||
#define TX_EN -1
|
||||
#define TX_POWER 13
|
||||
#endif
|
||||
|
||||
#define LORA_DEVICE DEVICE_SX1280 //we need to define the device we are using
|
||||
|
||||
|
|
@ -40,7 +47,7 @@ const uint8_t SpreadingFactor = LORA_SF8; //LoRa spreading factor
|
|||
const uint8_t CodeRate = LORA_CR_4_5; //LoRa coding rate
|
||||
const uint16_t Calibration = 11350; //Manual Ranging calibrarion value
|
||||
|
||||
const int8_t RangingTXPower = 3; //Transmit power used
|
||||
const int8_t RangingTXPower = TX_POWER; //Transmit power used
|
||||
const uint32_t RangingAddress = 16; //must match address in recever
|
||||
|
||||
const uint16_t waittimemS = 10000; //wait this long in mS for packet before assuming timeout
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue