]> git.piffa.net Git - sketchbook_andrea/blobdiff - basic/analog_input/analogInput_2_serial/analogInput_2_serial.ino
analog
[sketchbook_andrea] / basic / analog_input / analogInput_2_serial / analogInput_2_serial.ino
index 2dbb328e7286eaedb23c3b85a69a02a0195ca52f..fa032760c8026897dda5deb554893d0dee025930 100644 (file)
@@ -27,8 +27,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() {