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...
Hi. If You have RTX51, you must use os_wait(K_TMO,100,NULL); for 12MHz crystal oscillator with os_set_slice(10000);.......