jandelgado / jled

Non-blocking LED controlling library for Arduino and friends.
MIT License
324 stars 51 forks source link

Add period to on and off effects #93

Closed jandelgado closed 2 years ago

jandelgado commented 2 years ago

On, Off and Set now take an optional duration value, making these effects behave like any other in this regard. This allows to add an On effect to a JLedSequence for a specific amount of time.

coveralls commented 2 years ago

Coverage Status

Coverage increased (+0.02%) to 96.97% when pulling c9fa659b087af9bf19cf307348325d287df04afe on add_period_to_on_and_off_effects into 1971249379c6d9038f42c14c36d1ace589e1960b on master.