danieljackmorley@hotmail
New Member
I am trying to assign the config registers in the PIC16F887 chip. The problem appears to be that my compiler will not allow it(CC5x). I have read the paragraph on this in the CC5X manual.
#pragma config = 0x2FE9
#pragma config reg2 = 0x2FFF
I cann’t seem to find it in the 16F887.h file as I do the other registers. When I try to assign it
#pragma config ID = 0x2007
#pragma config reg2 ID = 0x2008
#pragma config = 0x2FE9
#pragma config reg2 = 0x2FFF
I cann’t seem to find it in the 16F887.h file as I do the other registers. When I try to assign it
#pragma config ID = 0x2007
#pragma config reg2 ID = 0x2008