Jon Wilder
Active Member
Something I don't think has been mentioned about 16F vs 18F is the analogue peripherals (op-amps/comparitors & DAC) & high reselution PWM capability that seems to be a 16F specialty. I use the 16F1782 that I must admit can be a pain to program. I had to move up to the PIC24EP series to get more performance with similar peripherals, maybe there is something in 18F but I skipped it for some reason (could be I was fedup doing 16 bit math on an 8 bit chip).
If you code in assembly I can see where that would be a pain. But with C, the programmer is blind to all of that as you just pitch the equation to the compiler and it handles all of the device specific low level math stuff. Sure, a 16-bit device can do 16-bit math with less code overhead but with newer 18F parts coming with 128KB flash who really cares?