LED Pattern
This block is used to set the LED pattern.
The pat.play method allows you to load a new LED pattern to play on the currently selected LED channel. The pattern is defined using a string with specific characters:
-: both LEDs offRorr: red LED onGorg: green LED onBorb: both LEDs on~: looped pattern (can be placed anywhere in the pattern string)*: double-speed pattern (can be placed anywhere, use twice for 4x speed)
The method takes two parameters:
pattern: The pattern string (max length: 16 steps)patint: Defines if the method can interrupt another pattern0(PL_PAT_NOINT): cannot interrupt1(PL_PAT_CANINT): can interrupt
The pattern is played on the Status LEDs
