Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
__config _LVP_OFF & _BOREN_OFF & _PWRTE_ON & _WDT_OFF & _XT_OSC
org 0x000 ;reset vector
goto START
START movlw 0x07 ;disable on chip comparator
movwf CMCON
;rest of code goes here
And when you are about to load the code into the 16F628, be sure to choose 16F628 in the list of PICs.
Agreed.Actually, he needs to choose 16F628A. They are different.
The only difference is the way the code-protect is invoked.