]> git.piffa.net Git - sketchbook_andrea/blobdiff - basic/pwm/pwm_4_analog_input/pwm_4_analog_input.ino
analog cleanup
[sketchbook_andrea] / basic / pwm / pwm_4_analog_input / pwm_4_analog_input.ino
index 5e9f83d603e46391612227af005fc6a522a27f79..fe670c40be9d977d25dbd1fbca078104a3368629 100644 (file)
@@ -7,9 +7,9 @@
   
   */
   
-int inputPin = A0;  // set input pin for the potentiometer
-int inputValue = 0; // potentiometer input variable
-int ledPin = 3;     // output pin, deve avere il PWM
+const byte inputPin = A0;// set input pin for the potentiometer
+int inputValue = 0;      // potentiometer input variable
+const byte ledPin = 3;   // output pin, deve avere il PWM
 
 void setup() {
      // declare the ledPin as an OUTPUT: