Discussion Forum

1 microsecond delay?

Next Thread | Thread List | Previous Thread Start a Thread | Settings

DetailsMessage
Read-Only
Author
Christian Konrad
Posted
17-May-2001 16:45 GMT
Toolset
None
New! 1 microsecond delay?
Is it possible to program a delay of 1 microsecond at a frequency of 12 or 15MHz with an AT89S53! If yes, how and what I have to use?

Thanks Christian
Read-Only
Author
tom mazowiesky
Posted
18-May-2001 13:40 GMT
Toolset
None
New! RE: 1 microsecond delay?
In assembler use a NOP, in C use the _nop_. This inserts a NOP instruction, which at 12 MHz will give a one microsecond delay.

Next Thread | Thread List | Previous Thread Start a Thread | Settings