Update Radiolib version to 7.1.0
This commit is contained in:
@@ -1,24 +1,24 @@
|
||||
/*
|
||||
RadioLib Stream Transmit Example
|
||||
RadioLib Stream Transmit Example
|
||||
|
||||
This example shows how to transmit data in "Stream" mode.
|
||||
In this mode, arbitrary length of data may be sent, up to
|
||||
"infinite" continuous transmission between two devices.
|
||||
This example shows how to transmit data in "Stream" mode.
|
||||
In this mode, arbitrary length of data may be sent, up to
|
||||
"infinite" continuous transmission between two devices.
|
||||
|
||||
Caveats:
|
||||
- CRC of the payload is not supported
|
||||
- the length of the payload must be known in advance
|
||||
Caveats:
|
||||
- CRC of the payload is not supported
|
||||
- the length of the payload must be known in advance
|
||||
|
||||
Modules that can be used for Stream are:
|
||||
- SX127x/RFM9x (FSK mode only)
|
||||
- RF69
|
||||
- SX1231
|
||||
Modules that can be used for Stream are:
|
||||
- SX127x/RFM9x (FSK mode only)
|
||||
- RF69
|
||||
- SX1231
|
||||
|
||||
For default module settings, see the wiki page
|
||||
https://github.com/jgromes/RadioLib/wiki/Default-configuration#sx127xrfm9x---lora-modem
|
||||
For default module settings, see the wiki page
|
||||
https://github.com/jgromes/RadioLib/wiki/Default-configuration#sx127xrfm9x---lora-modem
|
||||
|
||||
For full API reference, see the GitHub Pages
|
||||
https://jgromes.github.io/RadioLib/
|
||||
For full API reference, see the GitHub Pages
|
||||
https://jgromes.github.io/RadioLib/
|
||||
*/
|
||||
|
||||
// include the library
|
||||
@@ -31,9 +31,13 @@
|
||||
// DIO1 pin: 3
|
||||
SX1278 radio = new Module(10, 2, 9, 3);
|
||||
|
||||
// or using RadioShield
|
||||
// https://github.com/jgromes/RadioShield
|
||||
//SX1278 radio = RadioShield.ModuleA;
|
||||
// or detect the pinout automatically using RadioBoards
|
||||
// https://github.com/radiolib-org/RadioBoards
|
||||
/*
|
||||
#define RADIO_BOARD_AUTO
|
||||
#include <RadioBoards.h>
|
||||
Radio radio = new RadioModule();
|
||||
*/
|
||||
|
||||
// save transmission state between loops
|
||||
int transmissionState = RADIOLIB_ERR_NONE;
|
||||
|
||||
Reference in New Issue
Block a user