From a57d868ab59aed915962c00828ca6dda9129d3d3 Mon Sep 17 00:00:00 2001 From: coolneng Date: Fri, 15 Nov 2019 23:53:58 +0100 Subject: [PATCH] Add Analog LED strip code --- .../Analog LED-Strip.arduino.avr.uno.elf | Bin 0 -> 18708 bytes .../Analog LED-Strip.arduino.avr.uno.hex | 82 ++++++++++++++++++ Analog LED-Strip/Analog LED-Strip.ino | 42 +++++++++ 3 files changed, 124 insertions(+) create mode 100755 Analog LED-Strip/Analog LED-Strip.arduino.avr.uno.elf create mode 100644 Analog LED-Strip/Analog LED-Strip.arduino.avr.uno.hex create mode 100644 Analog LED-Strip/Analog LED-Strip.ino diff --git a/Analog LED-Strip/Analog LED-Strip.arduino.avr.uno.elf b/Analog LED-Strip/Analog LED-Strip.arduino.avr.uno.elf new file mode 100755 index 0000000000000000000000000000000000000000..55c845c39fbcbae408e062f1cb196bf3ed91a8a3 GIT binary patch literal 18708 zcmd5^dw5jUwclsXB$<$q2jL|Ul8_jlnLG&K1A&kP46nq52z?HdWRi>|Gt-#~V5<@k zDfPC6A&IX(BG&8cTC4R@Tdks{*+wWd&Z<|`|)n2a`TCKLl=Kg+rpEKEWu(tiK ze|SFj-fR8V+H0@9_CEWZz2}6zjhogPh9T_BCEA3|)dK8WCqx>`T2U-qVu8pPIZ__C zE1;YN1t#jbkXZj3GRB}vATyED2_a<uKH@muiwlWZilDWy0V9bI5KwDc(r}JxhyfbZM6BUaUgN1 z^ybq?#t!A)Ty)m>-L~=Oe@#4;IBT5RKHhv?VmNX5Yi|v|ns{;Xt3!vM^o+3f%O7BE zWu+G780wr#yjJ@C)ALF%JY8C4oVn}ulB)C0%&S^>=JeQWx#LB&MXSn|KfnBV)yS&S zmD1w;s=H4wsQUitvZ|&x2NQ$h@YUvVS?(Sj8Wg`edEnv0yAOQx=Pa-O%gMpS{o*hr z_lut>`szQOT($UxldIw7U?R;pl1MjhO=KANCp<>^!*_iy?Re$t^G+K#94maFaP^bl zsJy%KrpiO}A2)tvbmV@la9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{p3K4iV;CEXeWc4frFePH26hLVH_d>%013hm#?+50~h-8WVejl&7k< z$w>_@$UAomUx2{?J26pxaeuIH!sG=M>J=LsTUwhpze7xHAM}}6HDL$`UsmXC*X#;x zVja5s4mP(oZr}P2u-)}4JS1XQ_Q(AlDC1F8_S%%}npfT@UW|#r+Sku7JcKtCjt9Iw zp#d+>dc9qNUBS*kFx1V}B!DAce4yYD;ZqWuO%Zi;L<75Q3GYao#^ThUWZ;60_k}xc z(lRR-_J1Igf7b~;`E0=RL;hbfT0QlI67p~6NZUJ&IB5HQit6e~f{&L#^D(O1({~%T zy(Q2gjp)jY?czTmNM4jNaUY=XW{yB_4KVwXk1;S?kZjwOJqx`B8el!z1^-+|gT-6u z&~4nDSeGpeg12dkZo%KG{@gaA$#!cr^#)3X_=VPC+s3sHy{-6 0) { + digitalWrite(LED1, HIGH); + } + if (analog > 1){ + digitalWrite(LED2, HIGH); + } + if (analog > 2){ + digitalWrite(LED3, HIGH); + } + if (analog > 3){ + digitalWrite(LED4, HIGH); + } + if (analog > 4){ + digitalWrite(LED5, HIGH); + } + + delay(50); +}