hi How can i introduce a wait command in C51 Regards uzma
If you just want "a bit of delay," you can do it in 'C', but if you want precise, repeatable, predictable delays that won't be affected by the compiler's whims - then you must do it in assembler, or use a hardware timer. This has been discussed ad nauseam - here's just one example: http://www.keil.com/forum/docs/thread2938.asp If you want more, do the search...