From 3afe2e0713d369920d420a496c2a4e740afa12a7 Mon Sep 17 00:00:00 2001 From: "David A. Mellis" Date: Sun, 18 Oct 2009 19:41:30 +0000 Subject: [PATCH] Fixing variable name. --- .../Control/IfStatementConditional/IfStatementConditional.pde | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); }