1 #if !defined(_RADIOLIB_SX1231_H) 2 #define _RADIOLIB_SX1231_H 4 #include "../../TypeDef.h" 6 #if !defined(RADIOLIB_EXCLUDE_SX1231) 8 #include "../../Module.h" 9 #include "../RF69/RF69.h" 11 #define SX1231_CHIP_REVISION_2_A 0x21 12 #define SX1231_CHIP_REVISION_2_B 0x22 13 #define SX1231_CHIP_REVISION_2_C 0x23 16 #define SX1231_REG_TEST_OOK 0x6E 19 #define SX1231_OOK_DELTA_THRESHOLD 0x0C 52 int16_t
begin(
float freq = 434.0,
float br = 48.0,
float rxBw = 125.0,
float freqDev = 50.0, int8_t power = 10, uint8_t preambleLen = 16);
54 #ifndef RADIOLIB_GODMODE 57 uint8_t _chipRevision = 0;
Control class for RF69 module. Also serves as base class for SX1231.
Definition: RF69.h:432
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
Control class for SX1231 module. Overrides some methods from RF69 due to different register values...
Definition: SX1231.h:26
int16_t begin(float freq=434.0, float br=48.0, float rxBw=125.0, float freqDev=50.0, int8_t power=10, uint8_t preambleLen=16)
Initialization method.
Definition: SX1231.cpp:8
SX1231(Module *mod)
Default constructor.
Definition: SX1231.cpp:4