RadioLib
Universal wireless communication library for Arduino
Loading...
Searching...
No Matches
SX1261.h
1
#if !defined(_RADIOLIB_SX1261_H)
2
#define _RADIOLIB_SX1261_H
3
4
#include "../../TypeDef.h"
5
6
#if !RADIOLIB_EXCLUDE_SX126X
7
8
#include "../../Module.h"
9
#include "SX126x.h"
10
#include "SX1262.h"
11
12
//RADIOLIB_SX126X_CMD_SET_PA_CONFIG
13
#define RADIOLIB_SX126X_PA_CONFIG_SX1261 0x01
14
15
//RADIOLIB_SX126X_REG_VERSION_STRING
16
#define RADIOLIB_SX1261_CHIP_TYPE "SX1261"
17
22
class
SX1261
:
public
SX1262
{
23
public
:
28
SX1261
(
Module
* mod);
// cppcheck-suppress noExplicitConstructor
29
37
int16_t
setOutputPower
(int8_t power)
override
;
38
39
#if !RADIOLIB_GODMODE
40
private
:
41
#endif
42
43
};
44
45
#endif
46
47
#endif
Module
Implements all common low-level methods to control the wireless module. Every module class contains o...
Definition
Module.h:74
SX1261::setOutputPower
int16_t setOutputPower(int8_t power) override
Sets output power. Allowed values are in range from -17 to 15 dBm. When using an external PA,...
Definition
SX1261.cpp:11
SX1261::SX1261
SX1261(Module *mod)
Default constructor.
Definition
SX1261.cpp:4
SX1262::SX1262
SX1262(Module *mod)
Default constructor.
Definition
SX1262.cpp:44
src
modules
SX126x
SX1261.h
Generated by
1.15.0