1
0
mirror of https://github.com/sandeepmistry/arduino-LoRa.git synced 2025-09-04 14:42:10 +03:00

Add receive callback mode using DIO0

This commit is contained in:
Sandeep Mistry
2016-09-25 10:49:01 -04:00
parent d27bc56415
commit 57e28d1067
6 changed files with 129 additions and 6 deletions

3
API.md
View File

@@ -24,10 +24,11 @@ Returns `1` on success, `0` on failure.
Override the default `NSS` and `NRESET` pins used by the library. **Must** be called before `LoRa.begin()`.
```arduino
LoRa.setPins(ss, reset);
LoRa.setPins(ss, reset, dio0);
```
* `ss` new slave select pin to use, defaults to `10`
* `reset` new reset pin to use, defaults to `9`
* `dio0` new DIO0 pin to use, defaults to `2`
### End