LPLED is used to specify the color of a Launchpad LED. It implements also behaviors related to doublebuffering, as specified in the Launchpad Manual, but I did not use this. there is no need to deal with the internals of a LPLED.
returns a LPLED in yellow color.
s |
s is 1 or 2 for the brightness. |
a LPLED
compose your color yourself.
green |
0-3 brightness of the green LED. |
red |
0-3 brightness of the red LED. |
clear |
argument related to doublebuffering (not tested). |
copy |
argument related to doublebuffering (not tested). |
a LPLED
returns a LPLED in green color.
s |
1-3 brightness of the LED. |
a LPLED
returns a LPLED in orange color.
s |
1-2 brightness of the LED. |
a LPLED
returns a LPLED in black.
a LPLED
returns a LPLED in red color.
s |
1-3 brightness of the LED. |
a LPLED
returns a LPLED in amber color.
s |
1-3 brightness of the LED. |
a LPLED
this method returns the velocity value. this is only useful when you like to set a LED on the Lauchpad by hand.
a Integer