1
0
mirror of https://github.com/arduino/Arduino.git synced 2025-03-13 10:29:35 +01:00

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.
This commit is contained in:
Arturo Guadalupi 2014-11-24 09:37:20 +01:00
parent 54a6d644b6
commit 060c1e766c

View File

@ -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: