Define COUNT_MODE = 1
Dim num_of_pulses As Word
Count PORTB.0, 1000, num_of_pulses
this is the only example that i found in their reference manual - where timer0 is defined as a couter to count
pulses on portb 0. How can i define timer1 as a timer that i can start it via a start/count command and stop
it with a stop command, then retreive the count in us or as a word val. count that i can convert to us so i can
calculate speed. Timer 1 is made specifically for the count/time purpose thus why i would like to utilize it and
my purpose for it is just a stopwatch. Can you please show me an example?? - thank you
Hopefully i can count of the internal clk drive, have it start with a cmd and stop with a cmd.