From e4b0f8c080b85b67ea2aa43cc6ac963dfc0a91ad Mon Sep 17 00:00:00 2001 From: lewishe Date: Mon, 15 May 2023 15:41:41 +0800 Subject: [PATCH] Fix T3S3 Busy pin --- examples/T3S3Factory/T3S3Factory.ino | 4 +++- examples/T3S3Factory/utilities.h | 4 ++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/examples/T3S3Factory/T3S3Factory.ino b/examples/T3S3Factory/T3S3Factory.ino index dddc522..2986589 100644 --- a/examples/T3S3Factory/T3S3Factory.ino +++ b/examples/T3S3Factory/T3S3Factory.ino @@ -31,7 +31,7 @@ void setFlag(void); // #define USING_SX1268 // #define USING_SX1276 // #define USING_SX1278 -// #define USING_SX1280 +#define USING_SX1280 #if defined(USING_SX1262) @@ -53,6 +53,8 @@ SX1278 #elif defined(USING_SX1280) #undef RADIO_DIO1_PIN #define RADIO_DIO1_PIN 9 //SX1280 DIO1 = IO9 +#undef RADIO_BUSY_PIN +#define RADIO_BUSY_PIN 36 //SX1280 BUSY = IO36 uint8_t txPower = 3; //The SX1280 PA version cannot set the power over 3dBm, otherwise it will burn the PA float radioFreq = 2400.0; SX1280 diff --git a/examples/T3S3Factory/utilities.h b/examples/T3S3Factory/utilities.h index 903b6fd..f12a0b1 100644 --- a/examples/T3S3Factory/utilities.h +++ b/examples/T3S3Factory/utilities.h @@ -28,8 +28,8 @@ #define RADIO_MISO_PIN 3 #define RADIO_MOSI_PIN 6 #define RADIO_CS_PIN 7 -#define RADIO_DIO1_PIN 33 -#define RADIO_BUSY_PIN 34 +#define RADIO_DIO1_PIN 33 //SX1280 DIO1 = IO9 +#define RADIO_BUSY_PIN 34 //SX1280 BUSY = IO36 #define RADIO_RST_PIN 8 //!SX1276/78 module only