5 LED Blink Challenge
erco
Posts: 20,257
It's on like a prawn that yawns at dawn. Who can write the smallest BS2 program to blink 5 LEDs independently at different (non-multiple and readily variable) rates?
Code, video & memory map count (eg: EEPROM 27% full) please.
Winner gets a free Quadrover, is that OK by you, Ken & Matt?
Code, video & memory map count (eg: EEPROM 27% full) please.
Winner gets a free Quadrover, is that OK by you, Ken & Matt?
Comments
Video Link:
https://www.youtube.com/watch?v=wJ4jVkU86EU&feature=youtu.be
Here is one that is very short, looks like 19 bytes without the Pause, or, 21 bytes with Pause to slow down the loop for LEDs. Okay, it barely squeaks by in terms of the challenge <-- blink 5 LEDs independently at different (non-multiple and readily variable) rates-->. It is basically a random number generator with the LEDs flashing erratically. Even so, the average rates and range of rates of the LEDs are different, and readily variable in a maddening sort of way if you play with the mult and add parameters. Average rates ratio for the parameters shown:
353 : 163 : 224 : 447 : 288
Quadrovers for all, I say. Matt, please see to it!