PIC18F25K22 & 2 x 20 LCD

Thread Starter

nerdegutta

Joined Dec 15, 2009
2,684
With reference to the attachment in the previous post.

I had to change the last part of the configuration bits from:

Rich (BB code):
#pragma config CONFIG5L = 0xF
#pragma config CONFIG5H = 0xff
#pragma config CONFIG6L = 0xff
#pragma config CONFIG6H = 0xff
#pragma config CONFIG7L = 0xff
#pragma config CONFIG7H = 0xff
To:
Rich (BB code):
#pragma config CONFIG5L = 0xF
#pragma config CONFIG5H = 0xC0
#pragma config CONFIG6L = 0xF
#pragma config CONFIG6H = 0xE0
#pragma config CONFIG7L = 0xF
#pragma config CONFIG7H = 0x40
Now it compiles without any errors.

Thanks.
 

t06afre

Joined May 11, 2009
5,934
With reference to the attachment in the previous post.

I had to change the last part of the configuration bits from:

Rich (BB code):
#pragma config CONFIG5L = 0xF
#pragma config CONFIG5H = 0xff
#pragma config CONFIG6L = 0xff
#pragma config CONFIG6H = 0xff
#pragma config CONFIG7L = 0xff
#pragma config CONFIG7H = 0xff
To:
Rich (BB code):
#pragma config CONFIG5L = 0xF
#pragma config CONFIG5H = 0xC0
#pragma config CONFIG6L = 0xF
#pragma config CONFIG6H = 0xE0
#pragma config CONFIG7L = 0xF
#pragma config CONFIG7H = 0x40
Now it compiles without any errors.

Thanks.
That was just warnings ;) Some of the fusebits in these config words are not used. And hence you can write to them
 

Thread Starter

nerdegutta

Joined Dec 15, 2009
2,684
I'd like my code to compile completely without warnings. Then I know everything is OK. Or at least it compiles OK.
 
Thread starter Similar threads Forum Replies Date
nerdegutta Microcontrollers 4
Similar threads
PIC18F25K22 & ADC problem
Top