Skip to content

Commit 060c1e7

Browse files
committed
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.
1 parent 54a6d64 commit 060c1e7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: build/shared/examples/05.Control/IfStatementConditional/IfStatementConditional.ino

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
44
This example demonstrates the use of if() statements.
55
It reads the state of a potentiometer (an analog input) and turns on an LED
6-
only if the LED goes above a certain threshold level. It prints the analog value
6+
only if the potentiometer goes above a certain threshold level. It prints the analog value
77
regardless of the level.
88
99
The circuit:

0 commit comments

Comments
 (0)