Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
km said:How to generate clock pulse let's say 1MHz using C?
Eg:
high --> delay(?) --> low --> delay(?)
How much delay should i give?
km said:Why you said so? Is there other better choice?
Mike Stanley said:You don't mention which processor you are using. If it has (and most do) hardware timers on-chip, use those and do the timing loop in hardware instead. This will be far more precise and use only a fraction of your processors available cycles.