Fixed const int error

This commit is contained in:
Tom Igoe 2009-07-03 18:50:28 +00:00
parent 8d58a02e6d
commit 6fef0130f4
1 changed files with 2 additions and 4 deletions

View File

@ -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() {