[SX126x] Added note about TCXO modules

pull/13/head
jgromes 2019-05-28 12:42:12 +02:00
rodzic 9f382f6406
commit 8931efa4e7
1 zmienionych plików z 21 dodań i 0 usunięć

Wyświetl plik

@ -38,6 +38,27 @@ void setup() {
Serial.println(state);
while (true);
}
// NOTE: Some SX126x modules use TCXO
// (Temprature-Compensated Crystal Oscillator).
// To be able to use these modules, TCXO
// control must be enabled by calling
// setTCXO() and specifying the reference
// voltage.
/*
Serial.print(F("[SX1262] Setting TCXO reference ... "));
// enable TCXO
// reference voltage: 1.6 V
// timeout: 5000 us
state = lora.setTCXO(1.6);
if (state == ERR_NONE) {
Serial.println(F("success!"));
} else {
Serial.print(F("failed, code "));
Serial.println(state);
while (true);
}
*/
}
void loop() {