]> git.piffa.net Git - sketchbook_andrea/blobdiff - basic/analog_input/analogInput_1/analogInput_1.ino
analog
[sketchbook_andrea] / basic / analog_input / analogInput_1 / analogInput_1.ino
index ac477bbfb726ae7f60ad75f97ba9e15b0e8c1403..231a9ab6f7e5ac16c584857b0408f4162de4aecf 100644 (file)
@@ -29,8 +29,8 @@
  
  */
 
-int sensorPin = A0;    // select the input pin for the potentiometer
-int ledPin = 13;      // select the pin for the LED
+const int sensorPin = A0;    // select the input pin for the potentiometer
+const int ledPin = 13;      // select the pin for the LED
 int sensorValue = 0;  // variable to store the value coming from the sensor
 
 void setup() {