From 05313b01c6e14c815b8e177ea51f6519a46a960d Mon Sep 17 00:00:00 2001 From: jgromes Date: Tue, 28 Jan 2020 17:17:28 +0100 Subject: [PATCH] [SX126x] Added note about regulator mode to examples --- .../SX126x_Channel_Activity_Detection.ino | 1 + examples/SX126x/SX126x_FSK_Modem/SX126x_FSK_Modem.ino | 1 + examples/SX126x/SX126x_Receive/SX126x_Receive.ino | 1 + .../SX126x_Receive_Interrupt/SX126x_Receive_Interrupt.ino | 3 ++- examples/SX126x/SX126x_Settings/SX126x_Settings.ino | 1 + examples/SX126x/SX126x_Transmit/SX126x_Transmit.ino | 1 + .../SX126x_Transmit_Interrupt/SX126x_Transmit_Interrupt.ino | 1 + 7 files changed, 8 insertions(+), 1 deletion(-) diff --git a/examples/SX126x/SX126x_Channel_Activity_Detection/SX126x_Channel_Activity_Detection.ino b/examples/SX126x/SX126x_Channel_Activity_Detection/SX126x_Channel_Activity_Detection.ino index 62981785..a8953906 100644 --- a/examples/SX126x/SX126x_Channel_Activity_Detection/SX126x_Channel_Activity_Detection.ino +++ b/examples/SX126x/SX126x_Channel_Activity_Detection/SX126x_Channel_Activity_Detection.ino @@ -40,6 +40,7 @@ void setup() { // current limit: 60 mA // preamble length: 8 symbols // TCXO voltage: 1.6 V (set to 0 to not use TCXO) + // regulator: DC-DC (set to true to use LDO) // CRC: enabled int state = lora.begin(); if (state == ERR_NONE) { diff --git a/examples/SX126x/SX126x_FSK_Modem/SX126x_FSK_Modem.ino b/examples/SX126x/SX126x_FSK_Modem/SX126x_FSK_Modem.ino index 8efb8e25..e3e04627 100644 --- a/examples/SX126x/SX126x_FSK_Modem/SX126x_FSK_Modem.ino +++ b/examples/SX126x/SX126x_FSK_Modem/SX126x_FSK_Modem.ino @@ -41,6 +41,7 @@ void setup() { // preamble length: 16 bits // data shaping: Gaussian, BT = 0.5 // TCXO voltage: 1.6 V (set to 0 to not use TCXO) + // regulator: DC-DC (set to true to use LDO) // sync word: 0x2D 0x01 // CRC: enabled, CRC16 (CCIT) int state = fsk.beginFSK(); diff --git a/examples/SX126x/SX126x_Receive/SX126x_Receive.ino b/examples/SX126x/SX126x_Receive/SX126x_Receive.ino index cef823a6..5546e618 100644 --- a/examples/SX126x/SX126x_Receive/SX126x_Receive.ino +++ b/examples/SX126x/SX126x_Receive/SX126x_Receive.ino @@ -45,6 +45,7 @@ void setup() { // current limit: 60 mA // preamble length: 8 symbols // TCXO voltage: 1.6 V (set to 0 to not use TCXO) + // regulator: DC-DC (set to true to use LDO) // CRC: enabled int state = lora.begin(); if (state == ERR_NONE) { diff --git a/examples/SX126x/SX126x_Receive_Interrupt/SX126x_Receive_Interrupt.ino b/examples/SX126x/SX126x_Receive_Interrupt/SX126x_Receive_Interrupt.ino index c07fa9c7..e0cd16f6 100644 --- a/examples/SX126x/SX126x_Receive_Interrupt/SX126x_Receive_Interrupt.ino +++ b/examples/SX126x/SX126x_Receive_Interrupt/SX126x_Receive_Interrupt.ino @@ -46,6 +46,7 @@ void setup() { // current limit: 60 mA // preamble length: 8 symbols // TCXO voltage: 1.6 V (set to 0 to not use TCXO) + // regulator: DC-DC (set to true to use LDO) // CRC: enabled int state = lora.begin(); if (state == ERR_NONE) { @@ -119,7 +120,7 @@ void loop() { // you can also read received data as byte array /* byte byteArr[8]; - int state = lora.receive(byteArr, 8); + int state = lora.readData(byteArr, 8); */ if (state == ERR_NONE) { diff --git a/examples/SX126x/SX126x_Settings/SX126x_Settings.ino b/examples/SX126x/SX126x_Settings/SX126x_Settings.ino index f26a590b..92ef6d3b 100644 --- a/examples/SX126x/SX126x_Settings/SX126x_Settings.ino +++ b/examples/SX126x/SX126x_Settings/SX126x_Settings.ino @@ -56,6 +56,7 @@ void setup() { // current limit: 60 mA // preamble length: 8 symbols // TCXO voltage: 1.6 V (set to 0 to not use TCXO) + // regulator: DC-DC (set to true to use LDO) // CRC: enabled int state = loraSX1262.begin(); if (state == ERR_NONE) { diff --git a/examples/SX126x/SX126x_Transmit/SX126x_Transmit.ino b/examples/SX126x/SX126x_Transmit/SX126x_Transmit.ino index 084e11a6..574fdff3 100644 --- a/examples/SX126x/SX126x_Transmit/SX126x_Transmit.ino +++ b/examples/SX126x/SX126x_Transmit/SX126x_Transmit.ino @@ -41,6 +41,7 @@ void setup() { // current limit: 60 mA // preamble length: 8 symbols // TCXO voltage: 1.6 V (set to 0 to not use TCXO) + // regulator: DC-DC (set to true to use LDO) // CRC: enabled int state = lora.begin(); if (state == ERR_NONE) { diff --git a/examples/SX126x/SX126x_Transmit_Interrupt/SX126x_Transmit_Interrupt.ino b/examples/SX126x/SX126x_Transmit_Interrupt/SX126x_Transmit_Interrupt.ino index 2996f12c..d9a52053 100644 --- a/examples/SX126x/SX126x_Transmit_Interrupt/SX126x_Transmit_Interrupt.ino +++ b/examples/SX126x/SX126x_Transmit_Interrupt/SX126x_Transmit_Interrupt.ino @@ -41,6 +41,7 @@ void setup() { // current limit: 60 mA // preamble length: 8 symbols // TCXO voltage: 1.6 V (set to 0 to not use TCXO) + // regulator: DC-DC (set to true to use LDO) // CRC: enabled int state = lora.begin(); if (state == ERR_NONE) {