Hello Unregistered ,
stop the incrementing or stop the interrupt when freq >= maxfreq
Charles Linquist
Forum Rules
Bookmarks