* Added setGain for LNA Gain
Added setGain for LNA Gain
* Update API.md
Added API for setGain
* Added example to use setGain
Just use setGain after LoRa.begin
// set maximum LNA for better RX sensitivity
// 0: ADC is used and LNA gain is not used.
// 1-6: ADC is not used and LNA gain is used.
LoRa.setGain(6);
* Fixed spacing only
To change tabs to spaces.
* Delete LoRaReceiverCallbackWithLNAGain.ino
To remove as unnecessary.
* To add example for setGain
To add example for setGain as an optional setting.
* Added setGain
To add setGain
* Fixed typo for AGC
Fixed typo for AGC
* Fixed comment for LoRa.setGain(6)
* Make comment for setGain simpler
Make comment for setGain simpler
Version 0.6.0 introduced a mechanism to supply the ICACHE_RAM_ATTR
prefix to the onDio0Rise() interrupt service routine when compiling
for ESP32 or ESP8266 boards. As written, "#ifdef ESP8266 || ESP32"
produces "warning: extra tokens at end of #ifdef directive" when
compiling in the Arduino IDE 1.8.9. If the board is an ESP8266 then
ISR_PREFIX has the value ICACHE_RAM_ATTR (correct) but if the board is
an ESP32, ISR_PREFIX is null (incorrect) This PR proposes alternative
syntax "#if (ESP8266 || ESP32)" which compiles without warning and
provides ICACHE_RAM_ATTR to both ESP8266 and ESP32 boards.
Add function to change register (REG_INVERTIQ) to support communication node and gateway
The register does not exist in datasheet but use on but used in Semtech code.
Reference : https://github.com/intel-iot-devkit/upm/blob/master/src/sx1276/sx1276.cxx
* Add LoRa Simple Gateway/Node Exemple
Example how to use InvertIQ function to create a simple Gateway/Node logic.
* Add support for Arduino MKR WAN 1300 board
* Add new LoRa.setSPI(...) API to use radio with a different SPI interface
* Disable LoRa.onReceive(...) and LoRa.receive() on Arduino MKR WAN 1300
* Add errors on sketches not compatible with the Arduino MKR WAN 1300
* Add getting the frequency error of a packet
* Update for review comments
* Add functions to set low data rate optimization flag
* Typo
* Fixes
* Add packetFrequencyError to API.md
* WIP
* Simplify
* Make getSpreadingFactor private
* Correct LDO bit calculation
* Update LDO determination
* Correct calculation
* Correct calculation
* Revert back to old LDO calculation