X-Git-Url: http://git.piffa.net/web?a=blobdiff_plain;f=basic%2Fpwm%2Fpwm_1_while_byte%2Fpwm_1_while_byte.ino;h=dc092343741cdcfc9057c9102b97217e66c14eeb;hb=6546e84b197a1c8e33b4bbd206dd4d31c664d99b;hp=fed4e7f0e70c8c96bf4583e680aa5c53966cfcbc;hpb=afe24fa86d6bce45d95abb21f4948432cb4ed064;p=sketchbook_andrea diff --git a/basic/pwm/pwm_1_while_byte/pwm_1_while_byte.ino b/basic/pwm/pwm_1_while_byte/pwm_1_while_byte.ino index fed4e7f..dc09234 100644 --- a/basic/pwm/pwm_1_while_byte/pwm_1_while_byte.ino +++ b/basic/pwm/pwm_1_while_byte/pwm_1_while_byte.ino @@ -1,7 +1,11 @@ /* Fade - PWM per un LED: aumentare progressivamente la luminosita'. + PWM per un LED: aumentare progressivamente la luminosita' + utilizzando un ciclo while e l'overflow di un byte. + + Schema: http://lab.piffa.net/schemi/led_single_bb.png + (Cambiare PIN) */ const byte led = 9 ; // Il pin ~9 e' abilitato al PWM