Arduino software is a simple loop, but effective.
Hi see my post # 20.
You write functions for various things and call them from the loop. The loop is just the shell. I have written very useful programs for my photography, automating things like water drops, etc.