Neyolight
Full Member level 5
Yes, Vmin = -200mv ; Vmax = 5.20 V
- - - Updated - - -
A little bit of calculation :
Input Signal = 20 KHz , 50% duty cycle.
Time period of the signal = 1/20Khz = 5*10^-5 seconds
Therefore, gap = 5*10^-5 / 2 = 2.5*10^-5 seconds
Timer 1 clock = 8Mhz
Number of timer 1 increments observed in the gap = 2.5*10^-5 /(1/8Mhz) = 200
Therefore if the code works fine, I should get 200 out continually.
- - - Updated - - -
A little bit of calculation :
Input Signal = 20 KHz , 50% duty cycle.
Time period of the signal = 1/20Khz = 5*10^-5 seconds
Therefore, gap = 5*10^-5 / 2 = 2.5*10^-5 seconds
Timer 1 clock = 8Mhz
Number of timer 1 increments observed in the gap = 2.5*10^-5 /(1/8Mhz) = 200
Therefore if the code works fine, I should get 200 out continually.