Continue to Site

Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

PIC16F887 using config register in CC5X

Status
Not open for further replies.
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
 
Status
Not open for further replies.

Latest threads

Back
Top