Quote Originally Posted by grahamg View Post
Change first line to @ Device PIC16f628A HS_OSC, WDT_OFF, PWRTE_ON, CP_OFF
That in theory is all that should be needed.
nope, 16f628 has comparators too add cmcon = 7