Updated Compatible boards (markdown)

master
sh123 2021-10-25 16:31:43 +03:00
rodzic 5aed0154ac
commit 2c1d33facc
1 zmienionych plików z 8 dodań i 0 usunięć

@ -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<SX1278> radio_;
```
and
```
radio_ = std::make_shared<SX1278>(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