OneWire bus functionality quits working when Photon WiFi is turned off

HI @joel_e_b

Just my 5 cents worth;

Have you had a look at the docs about enabling System_Thread? Or maybe this post by @rickkas7:

Particle threads tutorial

I worked with Threads once and reverted back to normal mode very quickly, haha. It seems do work well where ‘multiple threads’ are required but it does come at a price. I tried using it in a voltage/current sensor device and even though it had the desired effect, it also come with some unwanted side effects :wink: In short, for me it was not as simple as adding SYSTEM_THREAD_ENABLE, I had to rework code quite drastically and could not manage to resolve the unwanted behaviour, so reverted back :laughing:

Having said this, my C++ is shaky at best, but I have heard about some more seasoned programmers finding’s it not so easy as it seems “the way things work” changes drastically. I will leave you in the capable hands of Scruff and the rest of the forum, SYSTEM_THRRAD_ENABLE is over my head.

Hope you resolve this.
Regards Friedl.