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.
Coverage increased (+0.02%) to 96.97% when pulling c9fa659b087af9bf19cf307348325d287df04afe on add_period_to_on_and_off_effects into 1971249379c6d9038f42c14c36d1ace589e1960b on master.
On
,Off
andSet
now take an optionalduration
value, making these effects behave like any other in this regard. This allows to add anOn
effect to aJLedSequence
for a specific amount of time.