Best practices for threaded mode and semi automatic in Electron

Hi all!

Is there some code that demonstrates threaded mode and semi automatic mode in electron.

What I want to do is connect to cloud and run my code to allow it to monitor other critical things that don’t require connection but attempt to connect and keep connected at the same time as the other things run.

I do have a couple of interrupts attached don’t know if this is an issue.

Would appreciate some code showing the best way to do this (need to turn on cell or connect to cell before cloud etc).

Thanks

You can use these modes just the same as on the Photon.
Just replace WiFi.xxxx() with Cellular.xxxx() and allow for a bit more time connecting to the network.

Thanks… Any code on WiFi usage of this modes? Curious to see non-blocking practices.