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.