16F84 Code>16F628 Code

Status
Not open for further replies.

Carole Wilosn

New Member
I am a beginner with PIC programming. I have decided to use the 16F628 but all projects I have are for the 'F84. Where do I find information about code conversion?"
 
Some info on that is here:

The F628 is very close to the F84. Basically, if you disable the comparators:
movlw 0x07
movwf CMCON
;and then change the CONFIG and chip type in the file:
LIST p=16F628
include "P16F628.inc"
__config 0x????
;You should be OK.
 
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…