Bingo !!!
Hi,
Got it ...
Devices affected: 16F1826, 16F1827
Date encountered: 08/2009
Error class: safe (always reported)
There are invalid port aliases in the PBP header file for these parts. The following assembly errors will be generated:
Symbol not previously defined (PORTC)
Symbol not previously defined (TRISC)
Workaround:
Edit the files 16F1826.BAS and 16F1827.BAS (found in the PBP install folder) as follows:
PORTL VAR PORTB
PORTH VAR PORTA ' PORTC invalid, change to PORTA
TRISL VAR TRISB
TRISH VAR TRISA ' TRISC invalid, change to TRISA
This is from a Melab's errata sheet Darrel Pointed at some times ago ....
I made the mod a while ago ... so couln't see what's wrong.
Have a nice evening
Alain
************************************************** ***********************
Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
************************************************** ***********************
IF there is the word "Problem" in your question ...
certainly the answer is " RTFM " or " RTFDataSheet " !!!
*****************************************
Bookmarks