I using mikroC PRO for DsPIC 6.2.0 and i have problem specifying SDI input while PPS mapping:
code:
Code: Select all
...
Unlock_IOLOCK();
PPS_Mapping(23,_INPUT,_SDI1);
PPS_Mapping(25, _OUTPUT, _SDO1);
PPS_Mapping(20, _OUTPUT, _SCK1OUT);
Lock_IOLOCK();
...
315 324 Undeclared identifier '_SDI1' in expression ...
Any idea/suggestion?
Thanks