On_pat Event

Top  Previous  Next

 

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.