What is DIO0 used for #453
-
Using the AiThinker RA-02 module, I connected it up to a Wemos D1 Mini (ESP8266). I had D4(IO2) of the ESP connected to DIO0 on the RA-02 module. So, what is DIO0 used for, is it needed at all, if so what for, or am I missing something? |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 1 reply
-
DIO0 is used for Continous Receive mode. Check the Receive callback example. DIO0 is not required for Single Receive mode. |
Beta Was this translation helpful? Give feedback.
-
Very good library, thank you very much!! |
Beta Was this translation helpful? Give feedback.
-
I do not think this is defined that way in LoRa.cpp: continuous mode seems to be used when DIO0 is not configured as an interrupt; when in callback-mode, the interrupt INT0 (Arduino Uno) is used by DIO0 to signal an arriving message: Lines 351 to 403:
[/code] |
Beta Was this translation helpful? Give feedback.
-
Read the data sheet first. And search this github. Some moderators answered this very comprehensive. |
Beta Was this translation helpful? Give feedback.
-
Read issue 341 |
Beta Was this translation helpful? Give feedback.
DIO0 is used for Continous Receive mode. Check the Receive callback example.
It is also used to detect TXDone.
DIO0 is not required for Single Receive mode.
It is ParsePacket().