LED Colorful string light with lighting effect.
Sep 22, 2022
LED Colorful string light with lighting effect.
A) Select the pin of the colorful light strip to connect to the micro:bit, the number and brightness of the LED lights on the light strip, and the command statement is as follows; here the colorful light strip is connected to the pin P0 of the micro:bit expansion board, and the number of LED lights on the light strip is 7, the brightness is 255.
B) Determine the range of LED lights used in the colorful light strip, and the range of LED lights in the colorful light strip is 0-6; and determine the hue range of the colorful light strip, the instructions to be called (the hue range is 1-360: red-green- blue).







