Using Millis with optical encoder

Very much appreciated UKHeliBob!
Giving that a try now...