Using Millis with optical encoder

Ahaaaaa.....!