1
0
mirror of https://github.com/sandeepmistry/arduino-LoRa.git synced 2025-04-19 13:02:14 +03:00

Update API.md

Add note on DIO0 requiring to be interrupt capable.
This commit is contained in:
Sandeep Mistry 2017-04-23 20:33:07 -04:00 committed by GitHub
parent 4bdb21eee9
commit df0f6994b2

2
API.md
View File

@ -28,7 +28,7 @@ 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`
* `dio0` - new DIO0 pin to use, defaults to `2`. **Must** be interrupt capable via [attachInterrupt(...)](https://www.arduino.cc/en/Reference/AttachInterrupt).
This call is optional and only needs to be used if you need to change the default pins used.