X-Git-Url: http://git.piffa.net/web?a=blobdiff_plain;f=basic%2Fanalog_input%2FanalogInput_1%2FanalogInput_1.ino;h=231a9ab6f7e5ac16c584857b0408f4162de4aecf;hb=6eb118d994cdb2299ee4565e4a16b215c54461bc;hp=ac477bbfb726ae7f60ad75f97ba9e15b0e8c1403;hpb=2e0e79a4c30d1bdb3871e6390951c1d7749b987e;p=sketchbook_andrea diff --git a/basic/analog_input/analogInput_1/analogInput_1.ino b/basic/analog_input/analogInput_1/analogInput_1.ino index ac477bb..231a9ab 100644 --- a/basic/analog_input/analogInput_1/analogInput_1.ino +++ b/basic/analog_input/analogInput_1/analogInput_1.ino @@ -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() {