I'd like to make a test code which can be connected by LoRa(TTGO) and also connect to WiFi...!!
What i'd like to make exactly is, if i press the pushbutton, then I can connect to LoRa and if i press the pushbutton again, then it will connect to WiFi..
Can i get some advice or some sample code that i can refer to...??