Blink1Device.play

Plays a stored pattern. The end and count parameters are only supported on MK2 and later devices.

  1. void play(ubyte start, ubyte end, ubyte count)
    class Blink1Device
    @trusted
    void
    play
    (
    ubyte start = 0
    ,
    ubyte end = 255
    ,
    ubyte count = 0
    )
  2. void play(ubyte start)

Parameters

start ubyte

The pattern position to start playing from.

end ubyte

The final pattern position to stop playing.

count ubyte

The amount of times to loop this pattern. 0 = infinite.

Throws

Blink1Exception if error

See Also

Meta