We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 5f62ed2 + fa69ca6 commit a1c778dCopy full SHA for a1c778d
src/LoRa.cpp
@@ -30,6 +30,7 @@
30
#define REG_FREQ_ERROR_LSB 0x2a
31
#define REG_RSSI_WIDEBAND 0x2c
32
#define REG_DETECTION_OPTIMIZE 0x31
33
+#define REG_INVERTIQ 0x33 // (default 0x27 or 0x40)
34
#define REG_DETECTION_THRESHOLD 0x37
35
#define REG_SYNC_WORD 0x39
36
#define REG_DIO_MAPPING_1 0x40
@@ -615,4 +616,9 @@ void LoRaClass::onDio0Rise()
615
616
LoRa.handleDio0Rise();
617
}
618
619
+void LoRaClass::invertIQ(boolean invert)
620
+{
621
+ writeRegister(REG_INVERTIQ, (uint8_t) (invert == false ? 0x27 : 0x40));
622
+}
623
+
624
LoRaClass LoRa;
0 commit comments