X-Git-Url: http://git.piffa.net/web?p=sketchbook_andrea;a=blobdiff_plain;f=basic%2Fpwm%2Fpwm_4_analog_input%2Fpwm_4_analog_input.ino;h=fe670c40be9d977d25dbd1fbca078104a3368629;hp=5e9f83d603e46391612227af005fc6a522a27f79;hb=3186569da93182e73fa3ea99beb8c9ea53a6ba8a;hpb=7235b2bd6847d70a486c4941ed3d4fc3186d02de diff --git a/basic/pwm/pwm_4_analog_input/pwm_4_analog_input.ino b/basic/pwm/pwm_4_analog_input/pwm_4_analog_input.ino index 5e9f83d..fe670c4 100644 --- a/basic/pwm/pwm_4_analog_input/pwm_4_analog_input.ino +++ b/basic/pwm/pwm_4_analog_input/pwm_4_analog_input.ino @@ -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: