Creating Libraries from sketches?

I suggest once you understand the delay() => millis() transition, you take a look at the timing libraries in this site's Libraries section. There's code that will make it easy to call one or more functions at specified intervals without you worrying about the details. You must first make the mental jump from sequential programming to state-based programming though (that came out way more buzz-wordy that I thought... :stuck_out_tongue: )