| ??? 06/01/00 19:44 Read: times |
#2987 - RE: Delay code |
Hi,
Here is a delay code in C: You may have to change x value to suit your microcontroller void delay(int ms) { int x; while(ms--) { x = 162; // 24MHZ with DS80C320 CPU while(x--); } } -Suba |
| Topic | Author | Date |
| Delay code | 01/01/70 00:00 | |
| RE: Delay code | 01/01/70 00:00 | |
| RE: Delay code | 01/01/70 00:00 | |
| RE: Delay code | 01/01/70 00:00 | |
| RE: Delay code | 01/01/70 00:00 | |
| RE: Delay code | 01/01/70 00:00 | |
| RE: Delay code | 01/01/70 00:00 | |
| RE: Delay code | 01/01/70 00:00 | |
| RE: Delay code | 01/01/70 00:00 | |
| RE: Delay code | 01/01/70 00:00 | |
| RE: Delay code | 01/01/70 00:00 | |
| RE: Delay code | 01/01/70 00:00 | |
| RE: Delay code | 01/01/70 00:00 | |
| RE: Delay code | 01/01/70 00:00 | |
| Interfacing 8051 with infrared devices | 01/01/70 00:00 | |
| RE: Interfacing 8051 with infrared devices | 01/01/70 00:00 | |
| RE: Delay code | 01/01/70 00:00 | |
RE: Interfacing 8051 with infrared devices | 01/01/70 00:00 |



