#ifndef DELAY_H
#define DELAY_H
#define FOSC 4000000 // Define your xtal here. Enter xtal speed!
#define delay_uS(x) {asm("rept "#x);asm("nop");asm("endm");}
void delay_mS (byte mS);
#endif
| file: /techref/microchip/language/c/io/lcd/hitachilcd-ak/delay_h.htm, 1KB, , updated: 2000/6/27 18:00, local time: 2010/3/21 01:39,
38.107.191.112:LOG IN
|
| ©2010 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions? Please DO link to this page! Digg it! <A HREF="http://www.piclist.com/techref/microchip/language/c/io/lcd/hitachilcd-ak/delay_h.htm"> Colorized Source Code</A> |
| Did you find what you needed? |
|
|
Ubicom SX18 thru SX52, PIC 16c5X compatibile, 50 to 75 MIPS microcontrollers! Now US customers can buy the Excellent SXDev from SXList.com for $150 + $15 import fee + s&h (~ $180 total+tax in CA) |
.