Hi everyone, I used CCS PCM compiler before and it has really nice printf() and delay_xs() functions. I just bought the Microchip C18 compiler and found that it doesn't have the printf() function. I am really disappointed! It has delayXXTCYx() function, but it is very hard to use. This is because everytime I want to delay for certain period, I have to take my calculator out and calculate how many clock cycle required. :( Does any one write the printf() and delay() function? Could you share the code? Thank you in advance! Regards, Thomas --------------------------------- Do you Yahoo!? The New Yahoo! Search - Faster. Easier. Bingo. -- http://www.piclist.com hint: PICList Posts must start with ONE topic: [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads