Hi Darrel,
Thanks for reply, I had slowly worked my way towrds that.
for th 18F45K20 Migration
The comparator is no longer controlled by the
CMCON register and each comparator now has it’s
own control register, CM1CON and CM2CON. The
functionality of the bits has also changed.
there is a section that confirms the observations made about the registers, so it really does always boil down to RTFD, but reading is sometimes not enough if you suffer from word blindness, anyway it gave me the opportunity to say thankyou for your routines which I intend to use.
Duncan.
Furthermore if everybody read and fully "understood" the datasheets this forum would die.




Bookmarks