Cyberalex wrote: > Hi, my pic 18f1220 seems has an 8khz internal clock instead of 8mhz..
8 kHz = 32 kHz / 4, 32 kHz is an internally generated frequency... with 4 cycles per instruction... hmmm... Maybe you need to setup OSCCON = 0x76 (8 MHz, internal oscillator)? HTH, Raphael ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Sdcc-user mailing list Sdcc-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sdcc-user