Timeline for How do I turn on or off an array of LEDs based on the value of a variable?
Current License: CC BY-SA 3.0
10 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Mar 25, 2016 at 9:10 | vote | accept | Sander Schaeffer | ||
Apr 7, 2015 at 20:12 | answer | added | RSM | timeline score: 2 | |
Apr 7, 2015 at 19:17 | comment | added | RSM |
The code uses the map() function and will lite an LED per 100, it also keeps LEDs on below the current lit
|
|
Apr 7, 2015 at 19:08 | comment | added | Sander Schaeffer | @RSM but how would I combine that example with my scope: 1 LED per 100 of my variable. That- and multiple LED's should be lid. | |
Apr 7, 2015 at 19:03 | comment | added | RSM |
If you want the a bar graph effect, the arduino ide has a ino under examples>Display>barGraph maps analog values to ten LEDs
|
|
Apr 7, 2015 at 16:55 | history | edited | Sander Schaeffer | CC BY-SA 3.0 |
added 22 characters in body
|
Apr 7, 2015 at 15:58 | history | edited | Sander Schaeffer | CC BY-SA 3.0 |
added 979 characters in body
|
Apr 7, 2015 at 15:27 | answer | added | user2973 | timeline score: 2 | |
Apr 7, 2015 at 15:26 | answer | added | fuenfundachtzig | timeline score: 0 | |
Apr 7, 2015 at 14:59 | history | asked | Sander Schaeffer | CC BY-SA 3.0 |