Your new topic does not fit any of the above??? Check first. Then post here. Thanks.

Moderator: igrr

User avatar
By antinym
#68669 The yield at the end of the main loop did not help any. I believe that yield is called at the end of the main loop.

I'm not sure that the "(effective) loop" you describe is anything other than normal behavior.

hmm..
User avatar
By QuickFix
#68692 Another thing I thought about today: where are you handling any disconnects (after a prior connection)?
At some point wpastate becomes 3, but it never gets reset to 0 on a disconnect (or I must be missing something). :?
User avatar
By antinym
#68697 I haven't gotten that far. I've adapted this code from another source online that puts everything in the setup(). But, I don't like waiting for for the Wifi to get setup before my MCU does stuff. If it were all in the setup() there'= would be no handling of disconnects either.

I could easily write something for wpastate=3 checking if WL_Connected something something something, but first thing is first, and that's just getting online consistently.