/Zephyr-latest/samples/drivers/led/led_strip/ |
D | README.rst | 1 .. zephyr:code-sample:: led-strip 2 :name: LED strip 3 :relevant-api: led_strip_interface 5 Control an LED strip. 10 This sample application demonstrates basic usage of the LED strip. 15 Zephyr supports various LED strip chips. For example, 17 - WS2812, such as the `NeoPixel(WS2812 compatible) LED Strip from AdaFruit`_. 18 - APA102, such as the `Dotstar(APA102 compatible) LED Strip from AdaFruit`_. 19 - LPD8806, such as the `LPD8806 LED Strip from AdaFruit`_. 21 - Power supply. These LED strips usually require a 5V supply. [all …]
|
D | sample.yaml | 2 description: Demonstration of the LED strip driver 3 name: LED strip sample 6 tags: LED 7 filter: dt_alias_exists("led-strip") 11 - mimxrt1050_evk/mimxrt1052/hyperflash
|
/Zephyr-latest/include/zephyr/drivers/ |
D | led_strip.h | 5 * SPDX-License-Identifier: Apache-2.0 20 * @brief LED Strip Interface 21 * @defgroup led_strip_interface LED Strip Interface 35 * @brief Color value for a single RGB LED. 37 * Individual strip drivers may ignore lower-order bits if their 58 * @brief Callback API for updating an RGB LED strip 78 * @brief Callback API for getting length of an LED strip. 85 * @brief LED strip driver API 87 * This is the mandatory API any LED strip driver needs to expose. 96 * @brief Mandatory function to update an LED strip with the given RGB array. [all …]
|
/Zephyr-latest/drivers/led_strip/ |
D | Kconfig | 1 # Top-level configuration file for LED strip drivers. 5 # SPDX-License-Identifier: Apache-2.0 8 bool "Light-Emitting Diode (LED) strip drivers" 10 Include LED strip drivers in the system configuration. 15 module-str = LED strip 19 int "LED strip initialization priority" 22 System initialization priority for LED strip drivers.
|
D | Kconfig.ws2812 | 4 # SPDX-License-Identifier: Apache-2.0 8 # https://wp.josh.com/2014/05/13/ws2812-neopixels-are-not-so-finicky-once-you-get-to-know-them/ 11 bool "WS2812 LED strip SPI driver" 16 Enable driver for WS2812 (and compatibles) LED strip using SPI. 21 bool "WS2812 LED strip I2S driver" 26 Enable driver for WS2812 (and compatibles) LED strip using I2S. 32 bool "WS2812 LED strip GPIO driver" 33 # Only an Cortex-M inline assembly implementation for the nRF91, nRF51, 40 Enable driver for WS2812 (and compatibles) LED strip directly 41 controlling with GPIO. The GPIO driver does bit-banging with inline [all …]
|
D | Kconfig.lpd880x | 2 # SPDX-License-Identifier: Apache-2.0 5 bool "LPD880x SPI LED strip driver" 11 Enable LED strip driver for daisy chains of LPD880x 14 Each LPD880x LED driver chip has some output channels 19 daisy chaining LED strips.
|
D | Kconfig.tlc5971 | 3 # SPDX-License-Identifier: Apache-2.0 6 bool "TLC5971 (and compatible) LED strip driver" 11 Enable LED strip driver for daisy chains of TLC5971-ish devices
|
D | Kconfig.apa102 | 4 # SPDX-License-Identifier: Apache-2.0 8 bool "APA102 SPI LED strip driver" 14 Enable the LED strip driver for a chain of APA102 RGB LEDs.
|
/Zephyr-latest/drivers/display/ |
D | Kconfig.led_strip_matrix | 2 # SPDX-License-Identifier: Apache-2.0 5 bool "LED strip matrix display driver" 10 Enable LED strip matrix display (LED strip arranged in
|
/Zephyr-latest/samples/drivers/led/led_strip/src/ |
D | main.c | 6 * SPDX-License-Identifier: Apache-2.0 27 #error Unable to determine length of LED strip 42 static const struct device *const strip = DEVICE_DT_GET(STRIP_NODE); variable 49 if (device_is_ready(strip)) { in main() 50 LOG_INF("Found LED strip device %s", strip->name); in main() 52 LOG_ERR("LED strip device %s is not ready", strip->name); in main() 56 LOG_INF("Displaying pattern on strip"); in main() 62 rc = led_strip_update_rgb(strip, pixels, STRIP_NUM_PIXELS); in main() 64 LOG_ERR("couldn't update strip: %d", rc); in main()
|
/Zephyr-latest/dts/bindings/led_strip/ |
D | apa,apa102.yaml | 1 description: APA102 SPI LED strip 5 include: [spi-device.yaml, led-strip.yaml]
|
D | greeled,lpd8803.yaml | 2 # SPDX-License-Identifier: Apache-2.0 4 description: GreeLed LPD8803 SPI LED strip 8 include: [spi-device.yaml, led-strip.yaml]
|
D | greeled,lpd8806.yaml | 2 # SPDX-License-Identifier: Apache-2.0 4 description: GreeLed LPD8806 SPI LED strip 8 include: [spi-device.yaml, led-strip.yaml]
|
D | worldsemi,ws2812-gpio.yaml | 2 # SPDX-License-Identifier: Apache-2.0 5 Worldsemi WS2812 LED strip, GPIO binding 7 Driver bindings for bit-banging a WS2812 or compatible LED strip. 11 or can be provided by setting the delay-txx properties in the device 16 below. The exact timings of the LED strip data line might vary on the 17 type of LEDs used, consult the data-sheet for the precise timings. 20 +-------+ +--- 24 ---+ +-----------------+ 27 +---------------+ +--- 31 ---+ +---------+ [all …]
|
D | worldsemi,ws2812-spi.yaml | 2 # SPDX-License-Identifier: Apache-2.0 5 Worldsemi WS2812 LED strip, SPI binding 7 Driver bindings for controlling a WS2812 or compatible LED 8 strip with a SPI master. 14 - spi-max-frequency 15 - spi-zero-frame 16 - spi-one-frame. 21 compatible: "worldsemi,ws2812-spi" 23 include: [spi-device.yaml, ws2812.yaml] 27 spi-one-frame: [all …]
|
D | worldsemi,ws2812-i2s.yaml | 2 # SPDX-License-Identifier: Apache-2.0 5 Worldsemi WS2812 LED strip, I2S binding 7 Driver bindings for controlling a WS2812 or compatible LED 8 strip with an I2S master. 10 compatible: "worldsemi,ws2812-i2s" 12 include: [i2s-device.yaml, ws2812.yaml] 16 out-active-low: 20 nibble-one: 23 description: 4-bit value to shift out for a 1 pulse. 25 nibble-zero: [all …]
|
D | ws2812.yaml | 4 # SPDX-License-Identifier: Apache-2.0 7 Worldsemi WS2812 (and compatible) LED controller 10 like SK6812, or Everlight B1414) LED controllers. 13 https://wp.josh.com/2014/05/13/ws2812-neopixels-are-not-so-finicky-once-you-get-to-know-them/ 19 MOSI line. Use the worldsemi,ws2812-spi.yaml or 20 worldsemi,ws2812-gpio.yaml bindings instead of this file after 25 The specification of the Everlight B1414 LED controller is slightly different. 31 There is a +/- 80 ns tolerance for each timing. 33 The latch/reset delay is 250 us and it must be set using the reset-delay 35 using the color-mapping property. [all …]
|
/Zephyr-latest/include/zephyr/drivers/led_strip/ |
D | tlc5971.h | 4 * SPDX-License-Identifier: Apache-2.0 16 * @brief Set the global brightness control levels for the tlc5971 strip. 18 * change will take effect on next update of the led strip 20 * @param dev LED strip device
|
/Zephyr-latest/doc/hardware/peripherals/ |
D | led.rst | 3 Light-Emitting Diode (LED) 9 The LED API provides access to Light Emitting Diodes, both in individual and 10 strip form. 23 LED subsection 28 LED Strip
|
/Zephyr-latest/dts/bindings/display/ |
D | led-strip-matrix.yaml | 2 # SPDX-License-Identifier: Apache-2.0 5 Generic LED strip matrix (LED strip arranged in a grid pattern) 7 compatible: "led-strip-matrix" 9 include: display-controller.yaml 32 start-from-right: 35 Specify if the first LED is at the right. 49 start-from-bottom: 52 Specify if the first LED is at the bottom. 76 horizontal-modules: 91 vertical-modules: [all …]
|
/Zephyr-latest/boards/shields/adafruit_neopixel_grid_bff/ |
D | adafruit_neopixel_grid_bff.overlay | 3 * SPDX-License-Identifier: Apache-2.0 6 #include <zephyr/dt-bindings/led/led.h> 10 led-strip = &bff_led_strip;
|
D | adafruit_neopixel_grid_bff_display.overlay | 8 bff_led_matrix: bff-led-matrix { 9 compatible = "led-strip-matrix"; 11 led-strips = <&bff_led_strip>; 14 start-from-right;
|
/Zephyr-latest/dts/bindings/led/ |
D | led-controller.yaml | 2 # SPDX-License-Identifier: Apache-2.0 4 # Common fields for LED controllers and child LEDs 6 child-binding: 7 description: LED child node 11 description: Human readable string describing the LED 15 Index of the LED on a controller. It can be used by drivers or 16 applications to map a logical LED to its real position on the 18 LEDs in an array/strip are not wired following the LED order of 20 color-mapping: 23 Channel to color mapping of a multicolor LED. If a LED supports [all …]
|
/Zephyr-latest/samples/drivers/led/led_strip/boards/ |
D | nucleo_l432kc.overlay | 4 * SPDX-License-Identifier: Apache-2.0 7 #include <zephyr/dt-bindings/led/led.h> 14 spi-max-frequency = <5250000>; 15 chain-length = <1>; 16 color-mapping = <LED_COLOR_ID_BLUE 24 led-strip = &apa102;
|
D | 96b_carbon_stm32f401xe.overlay | 4 * SPDX-License-Identifier: Apache-2.0 7 #include <zephyr/dt-bindings/led/led.h> 14 spi-max-frequency = <2000000>; 15 chain-length = <1>; 16 color-mapping = <LED_COLOR_ID_RED 24 led-strip = &lpd8806;
|