PDA

View Full Version : Config 16F873A



mpardinho
- 23rd October 2007, 10:22
i can't config _CP_ON in 16F873A

asm
__Config _HS_OSC & _WDT_ON & _LVP_OFF & _CP_ON
endasm

error message - _CP_ON not defined

Bruce
- 23rd October 2007, 12:09
Try _CP_ALL

When using MPASM, config fuse definitions have to match how they are defined in the
Microchip P16F873A.INC device header file.

mpardinho
- 23rd October 2007, 12:18
Greate ............
Many thanks for help
Work 100%