rgb_led(...)

Back to Index

Definition: rgb_led(value) — Allowed: numeric expression; Not allowed: string argument.

Sets the status RGB LED using a 3-bit mask (value & 0x07): bit0=R, bit1=G, bit2=B.

Values

Example

rgb_led(1);  // red
rgb_led(3);  // yellow
rgb_led(0);  // off