From 6fef0130f4ea2275624f9679301e8f28e78a99c3 Mon Sep 17 00:00:00 2001 From: Tom Igoe Date: Fri, 3 Jul 2009 18:50:28 +0000 Subject: [PATCH] Fixed const int error --- .../shared/dist/examples/Analog/Calibration/Calibration.pde | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/build/shared/dist/examples/Analog/Calibration/Calibration.pde b/build/shared/dist/examples/Analog/Calibration/Calibration.pde index 8ead5a2fb..52c8d8d61 100644 --- a/build/shared/dist/examples/Analog/Calibration/Calibration.pde +++ b/build/shared/dist/examples/Analog/Calibration/Calibration.pde @@ -28,12 +28,10 @@ const int sensorPin = 2; // pin that the sensor is attached to const int ledPin = 9; // pin that the LED is attached to -const int sensorMin = 1023; // minimum sensor value -const int sensorMax = 0; // maximum sensor value - // variables: int sensorValue = 0; // the sensor value - +int sensorMin = 1023; // minimum sensor value +int sensorMax = 0; // maximum sensor value void setup() {