Simple fix to compare time-intervals instead of comparing time-values to avoid millis() rollover issues which happens every 49.7 days. I know this fix is really not needed for start-up code (when millis() is initialized) but it's nice to be consistent.
Simple fix to compare time-intervals instead of comparing time-values to avoid millis() rollover issues which happens every 49.7 days. I know this fix is really not needed for start-up code (when millis() is initialized) but it's nice to be consistent.