No way more simple than that. See graphic below.
Imagine the black bars being full slots in a holder, and the white bars being empty slots, that could be filled.
[+] increases the length of the strip flashing the next light in the strip to show where the "max" is at for the random (green dot in this case).
[-] decreases the length of the strip as per above.
[rnd] lights up 10 random "full" slots (cyan dots as an example) for 3 minutes. If you press the button again, it lights up a new random 10 lights for 3 minutes.
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
No way more simple than that. See graphic below.
Imagine the black bars being full slots in a holder, and the white bars being empty slots, that could be filled.
[+] increases the length of the strip flashing the next light in the strip to show where the "max" is at for the random (green dot in this case).
[-] decreases the length of the strip as per above.
[rnd] lights up 10 random "full" slots (cyan dots as an example) for 3 minutes. If you press the button again, it lights up a new random 10 lights for 3 minutes.
1 Attachment