How to use LMIC library without TX_INTERVAL

I want to send an uplink only when a case of a switch is true. I don’t want to send a uplink each second, 20 seconds. How can I disable TX_INTERVAL and only send a uplink when I want?

Thank you.

This example simply triggers the sending action in the arduino loop().

1 Like

Thank you very much! I will try it

Thank you very much! Now I can send a uplink in my Finite State Machine

1 Like