Hello Unregistered ,
Originally Posted by lerameur yes it does oscillate when I put thisline: @ DEVICE PIC16F876A , HS_OSC , WDT_OFF , PWRT_ON , BOD_ON , LVP_OFF , PROTECT_OFF and not: DEFINE OSC 20 DEFINE OSC 20 is for PBP and it's internal compiler and setting up various timing loops; it doesn't set any config bits anywhere in the PIC. Leave both in there.
Forum Rules
Bookmarks