[SX126x] Added note about regulator mode to examples

This commit is contained in:
jgromes 2020-01-28 17:17:28 +01:00
parent d25491d945
commit 05313b01c6
7 changed files with 8 additions and 1 deletions

View file

@ -40,6 +40,7 @@ void setup() {
// current limit: 60 mA // current limit: 60 mA
// preamble length: 8 symbols // preamble length: 8 symbols
// TCXO voltage: 1.6 V (set to 0 to not use TCXO) // TCXO voltage: 1.6 V (set to 0 to not use TCXO)
// regulator: DC-DC (set to true to use LDO)
// CRC: enabled // CRC: enabled
int state = lora.begin(); int state = lora.begin();
if (state == ERR_NONE) { if (state == ERR_NONE) {

View file

@ -41,6 +41,7 @@ void setup() {
// preamble length: 16 bits // preamble length: 16 bits
// data shaping: Gaussian, BT = 0.5 // data shaping: Gaussian, BT = 0.5
// TCXO voltage: 1.6 V (set to 0 to not use TCXO) // 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 // sync word: 0x2D 0x01
// CRC: enabled, CRC16 (CCIT) // CRC: enabled, CRC16 (CCIT)
int state = fsk.beginFSK(); int state = fsk.beginFSK();

View file

@ -45,6 +45,7 @@ void setup() {
// current limit: 60 mA // current limit: 60 mA
// preamble length: 8 symbols // preamble length: 8 symbols
// TCXO voltage: 1.6 V (set to 0 to not use TCXO) // TCXO voltage: 1.6 V (set to 0 to not use TCXO)
// regulator: DC-DC (set to true to use LDO)
// CRC: enabled // CRC: enabled
int state = lora.begin(); int state = lora.begin();
if (state == ERR_NONE) { if (state == ERR_NONE) {

View file

@ -46,6 +46,7 @@ void setup() {
// current limit: 60 mA // current limit: 60 mA
// preamble length: 8 symbols // preamble length: 8 symbols
// TCXO voltage: 1.6 V (set to 0 to not use TCXO) // TCXO voltage: 1.6 V (set to 0 to not use TCXO)
// regulator: DC-DC (set to true to use LDO)
// CRC: enabled // CRC: enabled
int state = lora.begin(); int state = lora.begin();
if (state == ERR_NONE) { if (state == ERR_NONE) {
@ -119,7 +120,7 @@ void loop() {
// you can also read received data as byte array // you can also read received data as byte array
/* /*
byte byteArr[8]; byte byteArr[8];
int state = lora.receive(byteArr, 8); int state = lora.readData(byteArr, 8);
*/ */
if (state == ERR_NONE) { if (state == ERR_NONE) {

View file

@ -56,6 +56,7 @@ void setup() {
// current limit: 60 mA // current limit: 60 mA
// preamble length: 8 symbols // preamble length: 8 symbols
// TCXO voltage: 1.6 V (set to 0 to not use TCXO) // TCXO voltage: 1.6 V (set to 0 to not use TCXO)
// regulator: DC-DC (set to true to use LDO)
// CRC: enabled // CRC: enabled
int state = loraSX1262.begin(); int state = loraSX1262.begin();
if (state == ERR_NONE) { if (state == ERR_NONE) {

View file

@ -41,6 +41,7 @@ void setup() {
// current limit: 60 mA // current limit: 60 mA
// preamble length: 8 symbols // preamble length: 8 symbols
// TCXO voltage: 1.6 V (set to 0 to not use TCXO) // TCXO voltage: 1.6 V (set to 0 to not use TCXO)
// regulator: DC-DC (set to true to use LDO)
// CRC: enabled // CRC: enabled
int state = lora.begin(); int state = lora.begin();
if (state == ERR_NONE) { if (state == ERR_NONE) {

View file

@ -41,6 +41,7 @@ void setup() {
// current limit: 60 mA // current limit: 60 mA
// preamble length: 8 symbols // preamble length: 8 symbols
// TCXO voltage: 1.6 V (set to 0 to not use TCXO) // TCXO voltage: 1.6 V (set to 0 to not use TCXO)
// regulator: DC-DC (set to true to use LDO)
// CRC: enabled // CRC: enabled
int state = lora.begin(); int state = lora.begin();
if (state == ERR_NONE) { if (state == ERR_NONE) {