setEyelightOff(id)

Turn off the eye lamp

Parameter

Parameters

Type

Description

id

unsigned char

ID number to be controlled, range 0 ~ 10

Use the uKit Explore v2 board to control all the petals (pixels) of the eye lamp ID-1 to turn RED, and turn off after 400ms.

#include "uKitExplore2.h"
void setup() {    
    Initialization();    
    setEyelightAllPetals(1,255,0,0);    
    delay(400);    
    setEyelightOff(1);
    }
void loop() {

}

Last updated