??? 02/18/09 16:54 Read: times |
#162553 - Delay loop in C Programming |
Hi all,
I am using Keil C and 8051 (12MHz Xtal). I am wondering how do I calucate the delay time. For example, void delay (int ms) { char k; while (ms--) { for (k=0, k < 120; k++); } } thanks, Harrison |
Topic | Author | Date |
Delay loop in C Programming | 01/01/70 00:00 | |
you can't | 01/01/70 00:00 | |
Timer ticks | 01/01/70 00:00 | |
It's IMPOSSIBLE - but here's how... | 01/01/70 00:00 | |
You do not![]() | 01/01/70 00:00 |