LED (Red) =================== .. figure:: /_static/products/ledong-module/static/images/led_light_h.png :width: 55% :align: center Overview -------------------- Single-color LED module, lights up on high level, turns off on low level Technical Specifications ------------------------ Operating voltage: VCC 3.3V -5V Module dimensions: 24*48mm Mounting: 2 plastic building block compatible through-holes Control method: Digital input Pin Definition ------------------- ===== ============= Pin Definition ===== ============= GND Ground VCC Power DI Digital input NC Not connected ===== ============= Example Code ------------------- **Make the LED module blink.** .. code-block:: python from mpython import * p0 = MPythonPin(0, PinMode.OUT) import time while True: p0.write_digital(1) time.sleep(0.5) p0.write_digital(0) time.sleep(0.5) .. figure:: /_static/products/ledong-module/static/examples/led.png :width: 100% :align: center