- This topic has 1 reply, 2 voices, and was last updated 7 years, 2 months ago by .
Viewing 2 posts - 1 through 2 (of 2 total)
Viewing 2 posts - 1 through 2 (of 2 total)
- You must be logged in to reply to this topic.
|
Microcontroller › Arduino › Arduino Frequency Divider
I am trying to test a frequency divider program on Arduino by providing delay through delayMicroseconds() function but despite all hit and trials i am not able to get 50% duty cycle….where i could be making a mistake…is there any tricky way to practically achieve 50% duty cycle
you must try using interrupts instead of standard library functions. implementation of standard library functions involves variable propagation delays on chip that make getting precice results harder.