generating 74kHz square wave using atmega8535

Go To Last Post
4 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

hi,
can anyone help me for generating a delay of 7 microseconds using atmega8535 micro controller with 16MHz crystal.??

problem i am facing: i am unable to generate a delay less than 10 microseconds. i tried all the possible ways like with a count register value of 3 and 10 it is giving the delay of only 10 microseconds but for higher delays than 10 microseconds it is working fine.. please suggest me some solution.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

hi...

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I suppose showing us your code and pointing out what you think isn't working is out of the question?

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

First, this in the wrong forum for this post, please read the forum guidelines.

Second, we need more information (particularly what language you are using, whether you are using interrupts or software delays, and how accurate of a delay you need).

Regards,
Steve A.

The Board helps those that help themselves.