From 2c1d33facc6ca21c92dc7775078ccc3a52cb5697 Mon Sep 17 00:00:00 2001 From: sh123 Date: Mon, 25 Oct 2021 16:31:43 +0300 Subject: [PATCH] Updated Compatible boards (markdown) --- Compatible-boards.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Compatible-boards.md b/Compatible-boards.md index f096b16..7159f41 100644 --- a/Compatible-boards.md +++ b/Compatible-boards.md @@ -6,6 +6,14 @@ If using arduino-LoRa library then supported modules are SX1276/77/78/79. If using RadioLib then supported modules - modules, which are supported by [RadioLib](https://github.com/jgromes/RadioLib/wiki/Modules): - `SX1278` is a default module, for other `SX127x` modules need to modify module declarations in `loraprs_service.cpp` and `loraprs_service.h` + ``` + static std::shared_ptr radio_; + ``` + and + ``` + radio_ = std::make_shared(new Module(config_.LoraPinSs, config_.LoraPinDio0, config_.LoraPinRst, RADIOLIB_NC)); + ``` + replace `SX1278` with your module name - `SX126x` is using `DIO1` pin for ISR instead of `DIO0`, compilation might fail and need manual rename `clearDio0Action` and `setDio0Action` to `clearDio1Action` and `setDio1Action` - other RadioLib module types - check [RadioLib documentation](https://github.com/jgromes/RadioLib/wiki/Modules), modify code accordingly, open Issue if help is needed