X-Git-Url: http://git.piffa.net/web?a=blobdiff_plain;f=basic%2Fanalog_input%2FanalogInput_2_serial%2FanalogInput_2_serial.ino;h=fa032760c8026897dda5deb554893d0dee025930;hb=98f12e9ba20d5b505b1b6506569e31af9ac3ba89;hp=2dbb328e7286eaedb23c3b85a69a02a0195ca52f;hpb=e50f2cf8e7402ea56cd01835be9f88c53876bfd1;p=sketchbook_andrea diff --git a/basic/analog_input/analogInput_2_serial/analogInput_2_serial.ino b/basic/analog_input/analogInput_2_serial/analogInput_2_serial.ino index 2dbb328..fa03276 100644 --- a/basic/analog_input/analogInput_2_serial/analogInput_2_serial.ino +++ b/basic/analog_input/analogInput_2_serial/analogInput_2_serial.ino @@ -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() {