Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.
Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.
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?"
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.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.