1 #if !defined(_RADIOLIB_SX1268_H) 2 #define _RADIOLIB_SX1268_H 4 #include "../../TypeDef.h" 6 #if !defined(RADIOLIB_EXCLUDE_SX126X) 8 #include "../../Module.h" 12 #define SX126X_PA_CONFIG_SX1268 0x00 51 int16_t
begin(
float freq = 434.0,
float bw = 125.0, uint8_t sf = 9, uint8_t cr = 7, uint8_t syncWord = SX126X_SYNC_WORD_PRIVATE, int8_t power = 10, uint16_t preambleLength = 8,
float tcxoVoltage = 1.6,
bool useRegulatorLDO =
false);
74 int16_t
beginFSK(
float freq = 434.0,
float br = 48.0,
float freqDev = 50.0,
float rxBw = 156.2, int8_t power = 10, uint16_t preambleLength = 16,
float tcxoVoltage = 1.6,
bool useRegulatorLDO =
false);
98 #ifndef RADIOLIB_GODMODE int16_t begin(float freq=434.0, float bw=125.0, uint8_t sf=9, uint8_t cr=7, uint8_t syncWord=SX126X_SYNC_WORD_PRIVATE, int8_t power=10, uint16_t preambleLength=8, float tcxoVoltage=1.6, bool useRegulatorLDO=false)
Initialization method for LoRa modem.
Definition: SX1268.cpp:8
Derived class for SX1268 modules.
Definition: SX1268.h:19
int16_t setOutputPower(int8_t power)
Sets output power. Allowed values are in range from -9 to 22 dBm.
Definition: SX1268.cpp:69
Base class for SX126x series. All derived classes for SX126x (e.g. SX1262 or SX1268) inherit from thi...
Definition: SX126x.h:342
Implements all common low-level SPI/UART/I2C methods to control the wireless module. Every module class contains one private instance of this class.
Definition: Module.h:17
int16_t setFrequency(float freq, bool calibrate=true)
Sets carrier frequency. Allowed values are in range from 410.0 to 810.0 MHz.
Definition: SX1268.cpp:45
SX1268(Module *mod)
Default constructor.
Definition: SX1268.cpp:4
int16_t beginFSK(float freq=434.0, float br=48.0, float freqDev=50.0, float rxBw=156.2, int8_t power=10, uint16_t preambleLength=16, float tcxoVoltage=1.6, bool useRegulatorLDO=false)
Initialization method for FSK modem.
Definition: SX1268.cpp:26