I tried adding the following configuration code to my program.
@ DEVICE XT_OSC
@ DEVICE PIC16F84A,XT_OSC
@ DEVICE pic16F84A, INTRC_OSC_NOCLKOUT
' System Clock Options
@ DEVICE pic16F84A, WDT_ON
' Watchdog Timer
@ DEVICE pic16F84A, PWRT_ON
' Power-On Timer
@ DEVICE pic16F84A, MCLR_ON
@ DEVICE pic16F84A, BOD_ON
' Brown-Out Detect
@ DEVICE pic16F84A, LVP_OFF
' Low-Voltage Programming
@ DEVICE pic16F84A, CPD_OFF
' Data Memory Code Protect
' Set to CPD_OFF for Development Copy
' Set to CPD_ON for Release Copy
@ DEVICE pic16F84A, PROTECT_OFF
But I get errors when I compile now.
Error ... Undefined symbol 'lvp_off'
In addition to the configuration stuff, do I have to INCLUDE anything in my program?





Bookmarks