From 933494418972506d53138df088e2da819cbb0dba Mon Sep 17 00:00:00 2001 From: "David A. Mellis" Date: Mon, 5 Jul 2010 15:37:55 +0000 Subject: [PATCH] Updating analog input pin number in Calibration example to match diagram. --- build/shared/examples/Analog/Calibration/Calibration.pde | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build/shared/examples/Analog/Calibration/Calibration.pde b/build/shared/examples/Analog/Calibration/Calibration.pde index fb67d4ebf..7788fd794 100644 --- a/build/shared/examples/Analog/Calibration/Calibration.pde +++ b/build/shared/examples/Analog/Calibration/Calibration.pde @@ -27,7 +27,7 @@ */ // These constants won't change: -const int sensorPin = 2; // pin that the sensor is attached to +const int sensorPin = 0; // pin that the sensor is attached to const int ledPin = 9; // pin that the LED is attached to // variables: @@ -72,4 +72,4 @@ void loop() { // fade the LED using the calibrated value: analogWrite(ledPin, sensorValue); -} \ No newline at end of file +}