Quote Originally Posted by Ioannis View Post
Henrik: I missed that part about the prescaler on F84. Good one!

grimmjow:

remember to declare timepassed as a word variable.

Given that you will still be using 4MHz crystal, the timer step will be 1usec.

Ioannis
Thank you Ioannis, i'm using it as word.

Btw circuit works fine thnx for your efforrs both Ioannis and HenrikOlsson