I need to get my IR light modulated at 38KHz
i also modulate it with the PWM.
If you change TCCR0B, it affects millis() and delay(). They will count time faster or slower than normal if you change the TCCR0B settings. Below is the adjustment factor to maintain consistent behavior of these functions:
Just one thing: if i set the duty to 50% the period is 26us right (as Groove said)?
so i guess this means that if i use the previous library, which uses timer 1, i shouldn't have problems with it.
Please enter a valid email to subscribe
We need to confirm your email address.
To complete the subscription, please click the link in the
email we just sent you.
Thank you for subscribing!
via Egeo 16