Audomatic Garage Door Close

wildbill:
Shouldn't the Calibrate function be called from setup rather than loop? Clearly either will work, but why bother checking for it in loop when it's a startup activity only?

I was thinking that, but it has to be called 40 times. A 'for' loop might look better though, called from setup.