Starlight LED Strip ====================== .. figure:: /_static/products/ledong-module/static/images/ledong_module_starlight_led_strip.png :width: 65% :align: center Overview -------------------- Colorful starlight LED strip, lights up on high level. Technical Specifications -------------------------- Operating voltage: VCC 3.3V -5V Length: 2.0 meters LEDs: 5 colors, 20 pieces Pin Definition ------------------- ========= ============= Pin Definition ========= ============= Black (GN D) Negative Red (VCC) Positive ========= ============= Example Code ------------------- **Press button A to turn on the starlight LED strip; press button B to turn it off.** .. code-block:: python from mpython import * from mpython import ledong_shield def on_button_a_pressed(_): ledong_shield.set_motor(1, -50) button_a.event_pressed = on_button_a_pressed def on_button_b_pressed(_): ledong_shield.set_motor(1, 0) button_b.event_pressed = on_button_b_pressed .. figure:: /_static/products/ledong-module/static/examples/starlight_led_strip.png :width: 100% :align: center