Hi Rob,
That was written for a 18F1220 18 pin device. I also use 18F2420 28 pin, and 18F4550 40 pin. It depends which of the internal peripherals you want to use. Microchip have a chip selector tool on their site. You tell it what you need, and it will sugest which chips are suitable. Though it did not work last time I tried, but that was probably due to our totally slow, & unreliable internet at work.
I love how you can get clock speeds of 40 or 48MHZ using 10 or 20MHZ resonator, and using the HS PLL Enabled option. You can pretty much ignore how long calculations etc. take. It's so fast that it usualy makes no difference to your results.
The only things that get in the way are LCD, EEPROM, or serial comms, etc that always take a long time.
Regards
Bob.




Bookmarks