From 060c1e766c6ed33afe0b87db28548914a6bdc474 Mon Sep 17 00:00:00 2001 From: Arturo Guadalupi Date: Mon, 24 Nov 2014 09:37:20 +0100 Subject: [PATCH] Updated description It reads the state of a potentiometer (an analog input) and turns on an LED only if the LED goes above a certain threshold level. It prints the analog value regardless of the level. updated to It reads the state of a potentiometer (an analog input) and turns on an LED only if the potentiometer goes above a certain threshold level. It prints the analog value regardless of the level. --- .../IfStatementConditional/IfStatementConditional.ino | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/shared/examples/05.Control/IfStatementConditional/IfStatementConditional.ino b/build/shared/examples/05.Control/IfStatementConditional/IfStatementConditional.ino index e6c18017a..9f1b309e2 100644 --- a/build/shared/examples/05.Control/IfStatementConditional/IfStatementConditional.ino +++ b/build/shared/examples/05.Control/IfStatementConditional/IfStatementConditional.ino @@ -3,7 +3,7 @@ This example demonstrates the use of if() statements. It reads the state of a potentiometer (an analog input) and turns on an LED - only if the LED goes above a certain threshold level. It prints the analog value + only if the potentiometer goes above a certain threshold level. It prints the analog value regardless of the level. The circuit: