#define DISPCMND PT0AD //DISPLAYCMD directed to port PTOAD
#define DISPDATA PT1AD //DISPLAYDATA directed to port PT1AD
/*
---
--- local function
---
*/
void SendDataAndCmnd(char dt,char c1,char c2,char c3) { //used to out data
DISPDATA = dt; //and command
DISPCMND = c1;
DISPCMND = c2;
DISPCMND = c3;
}
In the above source, I am getting an error C1815: PT1AD not declared (or type name) although mc9s12g64.h is included..
Would you please help me..