RAK 811 How to script at commands so they run at boot up
How can I script at commands so they run at boot time?
Read pin 2
Send value of pin 2
wait one minute
You can refer https://github.com/RAKWireless/RAK811_BreakBoard
you need to modify into the main function as well as and the packet preparation for read your pin 2 and sending it
if your board not having gps and other sensor disable those configurations in main