.ledIs
DESCRIPTION
Retruns the color value of the RGB LED.
SYNTAX
lcd.ledIs();
PARAMETERS
None.
RETURNS
A byte with the current value of the led color. Values are 0-7.
EXAMPLE
#include
#include
InvIoT_U1 lcd(A0, A1); void setup() { } void loop() { byte x=lcd.ledIs(); lcd.led(!x); //lcd.led(!lcd.ledIs()); //this line does the same think. Red blink delay(1000); }
SEE ALSO
.leddefine
.ledIs