setUltrasonicRgbled(id,red,green,blue)
Control the ultrasonic sensor’s LED to light up and set the color
Parameter
Example
#include "uKitExplore2.h"
void setup() {
Initialization();
setUltrasonicRgbled(1,255,0,0);
delay(400);
setUltrasonicRgbled(1,255,0,255);
}
void loop() {
}Last updated