I wrote a code that can be used 2 ways
For one I need the Servo Library For one the Servo library mustn't be included
since both will access Pin9 and the servo Library blocks PWM on Pin9 when included. I need to define a variable telling my program how to output anyway.
So is there a way to include a library dependent on what this variable was declared to?
int UseServo = 0; // 0 or 1
To make the compiler only include Servo.h when UseServo is 1 ???? Or do I need to comment / uncomment that each time manually?