Update API.md

Add note on DIO0 requiring to be interrupt capable.
set-sync-mode-op-mode
Sandeep Mistry 2017-04-23 20:33:07 -04:00 committed by GitHub
parent 4bdb21eee9
commit df0f6994b2
1 changed files with 1 additions and 1 deletions

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.