Hi,
Is there a way to verify the value of a CONFIG parameter at compile time?
Example:
Config CANMX = PORTC // ECAN TX and RX pins are located on RC6 and RC7, respectively
Config CANMX = PORTB // ECAN TX and RX pins are located on RB2 and RB3, respectively
#if "Config CANMX = PORTC" // with what syntax ??
' add this constants
#else
' add this constants
#endif
Thank you all.