Home
last modified time | relevance | path

Searched +full:led +full:- +full:strips (Results 1 – 10 of 10) sorted by relevance

/Zephyr-latest/samples/drivers/led/led_strip/
DREADME.rst1 .. 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 …]
/Zephyr-latest/boards/shields/adafruit_neopixel_grid_bff/
Dadafruit_neopixel_grid_bff_display.overlay8 bff_led_matrix: bff-led-matrix {
9 compatible = "led-strip-matrix";
11 led-strips = <&bff_led_strip>;
14 start-from-right;
/Zephyr-latest/drivers/led_strip/
DKconfig.lpd880x2 # 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.
Dlpd880x.c4 * SPDX-License-Identifier: Apache-2.0
30 * - mode 0 (the default), 8 bit, MSB first, one-line SPI
31 * - no shenanigans (no CS hold, release device lock, not an EEPROM)
44 const struct lpd880x_config *config = dev->config; in lpd880x_update()
47 * a zero byte propagates through at most 32 LED driver ICs. in lpd880x_update()
79 rc = spi_write_dt(&config->bus, &tx); in lpd880x_update()
96 * Overwrite a prefix of the pixels array with its on-wire in lpd880x_strip_update_rgb()
106 * LPD880x strips. in lpd880x_strip_update_rgb()
131 const struct lpd880x_config *config = dev->config; in lpd880x_strip_length()
133 return config->length; in lpd880x_strip_length()
[all …]
/Zephyr-latest/include/zephyr/drivers/
Dled_strip.h5 * SPDX-License-Identifier: Apache-2.0
10 * @brief Public API for controlling linear strips of LEDs.
13 * addressable strips of LEDs.
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
[all …]
/Zephyr-latest/dts/bindings/led_strip/
Dled-strip.yaml3 # SPDX-License-Identifier: Apache-2.0
5 # Common fields for LED strips
8 chain-length:
12 The number of devices in the daisy-chain.
14 color-mapping:
22 color-mapping = <LED_COLOR_ID_GREEN
/Zephyr-latest/dts/bindings/display/
Dled-strip-matrix.yaml2 # 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/drivers/display/
Ddisplay_led_strip_matrix.c4 * SPDX-License-Identifier: Apache-2.0
24 const struct led_strip_buffer *strips; member
40 const size_t mods_per_row = config->width / config->module_width; in pixel_index()
41 const size_t mod_w = config->module_width; in pixel_index()
42 const size_t mod_h = config->module_height; in pixel_index()
45 config->modules_start_from_bottom ? (mod_h - 1) - (y / mod_h) : y / mod_h; in pixel_index()
46 const size_t y_in_mod = config->start_from_bottom ? (mod_h - 1) - (y % mod_h) : y % mod_h; in pixel_index()
50 if (config->modules_circulative) { in pixel_index()
51 if (config->modules_start_from_right) { in pixel_index()
52 mod_col = mods_per_row - 1 - mod_col; in pixel_index()
[all …]
/Zephyr-latest/tests/drivers/build_all/display/
Dapp.overlay4 * SPDX-License-Identifier: Apache-2.0
9 * with real-world devicetree nodes, to allow these tests to run on
13 #include <zephyr/dt-bindings/led/led.h>
14 #include <zephyr/dt-bindings/mipi_dbi/mipi_dbi.h>
18 #address-cells = <1>;
19 #size-cells = <1>;
23 gpio-controller;
25 #gpio-cells = <0x2>;
30 compatible = "zephyr,mipi-dbi-spi";
32 dc-gpios = <&test_gpio 0 0>;
[all …]
/Zephyr-latest/doc/releases/
Drelease-notes-2.2.rst18 * Fix CVE-2020-10028
19 * Fix CVE-2020-10060
20 * Fix CVE-2020-10063
21 * Fix CVE-2020-10066
32 * :github:`23494` - Bluetooth: LL/PAC/SLA/BV-01-C fails if Slave-initiated Feature Exchange is disa…
33 * :github:`23485` - BT: host: Service Change indication sent regardless of whether it is needed or …
34 * :github:`23482` - 2M PHY + DLE and timing calculations on an encrypted link are wrong
35 * :github:`23070` - Bluetooth: controller: Fix ticker implementation to avoid catch up
36 * :github:`22967` - Bluetooth: controller: ASSERTION FAIL on invalid packet sequence
37 * :github:`24183` - [v2.2] Bluetooth: controller: split: Regression slave latency during connection…
[all …]