mirror of
https://github.com/arduino/Arduino.git
synced 2024-12-01 12:24:14 +01:00
Fixing variable name.
This commit is contained in:
parent
650dc075a4
commit
3afe2e0713
@ -29,7 +29,7 @@ const int threshold = 400; // an arbitrary threshold level that's in the range
|
|||||||
|
|
||||||
void setup() {
|
void setup() {
|
||||||
// initialize the LED pin as an output:
|
// initialize the LED pin as an output:
|
||||||
pinMode(LED, OUTPUT);
|
pinMode(ledPin, OUTPUT);
|
||||||
// initialize serial communications:
|
// initialize serial communications:
|
||||||
Serial.begin(9600);
|
Serial.begin(9600);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user