on_pat Event

Function:

Generated when an LED pattern finishes playing.

Declaration:

on_pat

See Also:

pat.play


Details

This can only happen for "non-looped" patterns. Multiple on_pat events may be waiting in the event queue. When the event handler for this event is entered, the pat.channel property is automatically set to the channel for which this event was generated.


on_pat Event

Details