This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Problems with using a C167 code on a XC164

I wrote a code for the C167 which I want to use with a XC164, but I got lots of error messages as I compiled the code and now I don't have any more ideas to solve this problem...

Beside changing the device to XC164CS and the .h-file to XC164.h, what else I have to take care about?

Some error-examples:

PPF_3.C(35): error C67: 'P1': undefined identifier

corresponding code (beneath include-files)

sbit L2_1 = P1^6;

or

PPF_3.C(302): error C67: 'T3CON': undefined identifier

corresponding code (in main)
T3CON=0x0003;


Thanks in advance!

0