1root { 2 lightConfig { 3 boardConfig { 4 match_attr = "hdf_light_driver"; 5 lightAttr { 6 light01 { 7 lightId = [1]; /* Lightid can contain multiple logical light ID, for example: 8 1 indicates the power indicator. These logic lights work on 9 the same physical light light01. */ 10 lightName = "battery"; 11 lightNumber = 1; 12 busRNum = 147; // Red corresponding GPIO. 13 busGNum = 146; // Green corresponding GPIO. 14 busBNum = 149; // Blue corresponding GPIO. 15 defaultBrightness = 0X00FFFFFF; /* System default brightness value. 16 B: 0-7bit, R: 8-15bit, G: 16-23, extended bit: 24-31bit. */ 17 onTime = 50; /* The minimum duration (in milliseconds) that the system supports 18 when the light is on during flashing */ 19 offTime = 50; /* The minimum duration (in milliseconds) that the system supports 20 when the light is off during flashing */ 21 } 22 } 23 } 24 } 25}