diff --git a/build/shared/examples/Control/IfStatementConditional/IfStatementConditional.pde b/build/shared/examples/Control/IfStatementConditional/IfStatementConditional.pde index 068b4fe69..a763ae5f6 100644 --- a/build/shared/examples/Control/IfStatementConditional/IfStatementConditional.pde +++ b/build/shared/examples/Control/IfStatementConditional/IfStatementConditional.pde @@ -29,7 +29,7 @@ const int threshold = 400; // an arbitrary threshold level that's in the range void setup() { // initialize the LED pin as an output: - pinMode(LED, OUTPUT); + pinMode(ledPin, OUTPUT); // initialize serial communications: Serial.begin(9600); }