Hi All!
Suppose I have two PCB's :
PCB_REV1 – Led connected to P1.4
PCB_REV2 – Led connected to P3.6
so I want to compile the code according to PCB
#define PCB_REV1
void main(void)
{
#ifdef PCB_REV1
blink_led_1_4();
#else
blink_led_3_6();
#endif
}
it's compiling without any error but doesn't work.