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

Fixed const int error

This commit is contained in:
Tom Igoe 2009-07-03 18:50:28 +00:00
parent 8d58a02e6d
commit 6fef0130f4

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