Automaton icon indicating copy to clipboard operation
Automaton copied to clipboard

Add blink-pattern functionality to Atm_led

Open dsjstc opened this issue 8 years ago • 3 comments

Allows an LED object to blink in a pattern specified in a byte array. Each element in the array is a multiplier for the on time. I wanted this so I can chain up blinked error codes.

Also, resetting the counter when state() == OFF seems useful for any kind of repeat, not just patterns.

dsjstc avatar Apr 06 '17 07:04 dsjstc

Bump. I like this.

jbarchuk avatar Jan 28 '18 20:01 jbarchuk

@tinkerspy bump

00benallen avatar Nov 25 '19 20:11 00benallen

I would prefer this functionality to be in a separate library and not in the standard Atm_led machine perhaps under the name Atm_led_pattern. We could put it under contributed in the Wiki.

https://github.com/tinkerspy/Automaton/wiki/Contributed

tinkerspy avatar Nov 26 '19 08:11 tinkerspy