setUltrasonicRgbledOff(id)
Turn off the ultrasonic sensor’s LED light.
Parameter
Parameters
Type
Description
id
unsigned char
ID number to be controlled, range 0 ~ 10
Example
Use the uKit Explore v2 board to control the ultrasonic sensor ID-1’s LED to red, and turn off after 400ms.
Last updated