I want to define I/O pins depending on the model I define at the start.
let's consider I define model as A
#define MODEL "A"
then I want my input pins to be
#define IN1 12
#define IN1 14
#define IN1 16
And if I define model as B then I want to define pins differently. How can I do it?
I tried using #ifdef or #if but not sure how to use it properly. Any help is appreciated.