From 7b97dd54aaec227d030c577e34a155a2588d3723 Mon Sep 17 00:00:00 2001 From: Andrea Manni Date: Thu, 3 Dec 2015 03:38:58 +0100 Subject: [PATCH] buttons --- .gitignore | 1 + basic/TO_DO | 10 ------ .../blink_4_1_ciclo_for.ino | 2 +- .../.blink_4_ciclo_while.ino.swp | Bin 12288 -> 0 bytes basic/buttons/button_1/button_1.ino | 33 ++++++++++-------- .../button_2_serial_debug.ino | 27 +++++++------- 6 files changed, 36 insertions(+), 37 deletions(-) delete mode 100644 basic/TO_DO delete mode 100644 basic/blinks/blink_4_ciclo_while/.blink_4_ciclo_while.ino.swp diff --git a/.gitignore b/.gitignore index b673fde..34f7b71 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ TODO push.sh libraries/aero/ +*.swp diff --git a/basic/TO_DO b/basic/TO_DO deleted file mode 100644 index bd449fb..0000000 --- a/basic/TO_DO +++ /dev/null @@ -1,10 +0,0 @@ -Sketch 8: Sketch con 4 modi per il LED: - -1. OFF -2. ON -3. Blink -4. Fast Blink - - -Si potrebbe fare con una struttura switch per attivare il modo, -valutare se usare un array per iterare tra i modi. diff --git a/basic/blinks/blink_4_1_ciclo_for/blink_4_1_ciclo_for.ino b/basic/blinks/blink_4_1_ciclo_for/blink_4_1_ciclo_for.ino index e7ef1e2..a330935 100644 --- a/basic/blinks/blink_4_1_ciclo_for/blink_4_1_ciclo_for.ino +++ b/basic/blinks/blink_4_1_ciclo_for/blink_4_1_ciclo_for.ino @@ -49,7 +49,7 @@ void brilla(int velocita) { 1. Che differenza c'e' nella gestione dell'iteratore tra un ciclo while e for ? -2. In quali casi si usa un ciclo for piuttosto ch uno while? +2. In quali casi si usa un ciclo for piuttosto che uno while? . . diff --git a/basic/blinks/blink_4_ciclo_while/.blink_4_ciclo_while.ino.swp b/basic/blinks/blink_4_ciclo_while/.blink_4_ciclo_while.ino.swp deleted file mode 100644 index cabba101114ae8add8b2ffc5224a6e03a11fe5e2..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 12288 zcmeI2&u<(x6vv$k0cj~9I8Zn};E+wA*$s(k*(C>{lmsOT5>0ZdBJYfMW5sK4XFOYy z5-JcE5Fi8xj+~Gesx%YPun8wB9sk zV~y)L5xm;usf?;kCG|#{f33}|MKV%m?d-Z#Vy}CXQkxs-GdvO$2ns-f%(jjmKg_0| zn5sEF9)09ty8piAAWcvpC=e6~3Iqj$0zrYGKu{nk@IO+(c1PHGjQ2n>=858aR{C=e6~3Iqj$0zrYGz%8f%j~Tl>%GehN;XMBTU;h1n?HpI~e;3d;;D8uY;4|x7*me6GLf`=yy5N*lxmgEa%rh$65^B!oD_?htB++H&#To$ zT2WCVew-GTR`cd)W3xn)T^F?Q{0TCx7Bx4i!#AXE`@21(EN`QBX*D;tZ%)k3zcA;$ z_=^*oDz1`by2}M6F!pip1)8MdOeXY}!0_;(O|mU%w5Su0BB5iE2ojWbMO(W|soe0e z!=RvTS0p4mU6WdlO2w%Zb!@VH1WIhiTwFP=Bk}|{bsXN^HGk@ zPKcJ4yyIja9KV}M1iDQObjc^$+bV3xUNJSwm~N$*40m0p1q`aMyXe2VyOfjGm3q;{#j;vjKK0V_squy%h!;p&$(2Nqx&>COLqZ$kDRE6E zv)#;2=FyW1oArHs+5M=O?(lrnZYfe~5CG0QKa;5o`XVaQXkEm74`-`YWJ4z`7C$7O zrK#x#*1`mC@90GNoaKVzENWcHsko2N;gZijrk?$BVED9y867g|pyfZO96a#v5)R#b z#@Wd?Zr$xw;1yzRh&*)jIf$5ZXdn^vFK;9P4V!*$spPX~>haSE?J#vNbq$eyyoG@e zmrwRT8x3@@>k^&CS;F0Bq{fhpqkLQUn?yG;?Sywa3<*EQF0nhI!3-MDD{PJm`ypwg zDdL@`l