Need guidance on programming technique

GoForSmoke:
If you want a simpler and trouble-free approach then get a full grasp of BlinkWithoutDelay and then State Machines.

I read with interest the State Machine discussion of a couple of weeks ago. Once I kinda mostly understood the concept, it made my mental task easier. After decades of working out problems in a do this, do that, then the other look for something, wait for it to happen, then do something with it, sequential processing, I was having a helluva tough time with the concept of look to see if something has happened, if so do something about it, if not you'll catch it the next time around. If something is gonna take any length of time to happen, set a flag that you're looking for it and move on.

The State Machine concept allowed me to get through that. Note that there are no delays or anything else of that sort in my Aquarium Project. And that the Loop() is a bunch of function calls. So there!!!!!!!!!!!!!! Nyah!

But fully grasping the concept and using the SM library is probably going to take place next year..... or the year after. But seriously, prior to the beginning of the next iteration of the "Roaring Twenties".

My next major project will be a robotic arm and I will need to carefully study BlinkWithOutDelay before I start to tackle that.

John