Need help with loop time/interrupt programming

It doesn't seem to be working correctly

Grrrr.