nikouz
Newbie level 6
Hi all
i have a coding question. On my main.c file i have the following definitions:
These are used in main.c but also i use them in another file RTC_ReadWriteEdit.c. When i am compiling comes up the following error:
RTC_ReadWriteEdit.c:130:8: error: (192) undefined identifier "PORTCbits"
RTC_ReadWriteEdit.c:130:21: error: (196) struct/union required
How can i go with this? Thanks.
i have a coding question. On my main.c file i have the following definitions:
Code:
#define ButtonSetClockDate PORTCbits.RC0 //RED
#define ButtonPlus PORTCbits.RC1 //YELLOW
#define ButtonSetAlarm PORTCbits.RC2 //ORANGE
RTC_ReadWriteEdit.c:130:8: error: (192) undefined identifier "PORTCbits"
RTC_ReadWriteEdit.c:130:21: error: (196) struct/union required
How can i go with this? Thanks.
Last edited by a moderator: