Hi everyone, i am recently experimenting with lorawan using this library and i am trying to build a node that reads the state of a pin (ARDUINO UNO) and sends it to the TTN console. If I send a "closed" string everything works correctly
but if I try to read a pin from the arduino it doesn't work, the board (ARDUINO UNO) is blocked, every trasmission is interrupted and to get it working again I have to disconnect the pin and press reset. I can't read a pin and send the pin status. have you had similar problems?
I specify that when loading on ARDUINO the code I have a warning:
but then it seems to go on regularly.
Hi everyone, i am recently experimenting with lorawan using this library and i am trying to build a node that reads the state of a pin (ARDUINO UNO) and sends it to the TTN console. If I send a "closed" string everything works correctly but if I try to read a pin from the arduino it doesn't work, the board (ARDUINO UNO) is blocked, every trasmission is interrupted and to get it working again I have to disconnect the pin and press reset. I can't read a pin and send the pin status. have you had similar problems? I specify that when loading on ARDUINO the code I have a warning: but then it seems to go on regularly.
This is the monitor log: or this:
and at the line 53 of the file i have this:
but i don't understand where is the problem