/samples/drivers/led/lp5562/src/ |
A D | main.c | 68 static int set_static_color(const struct device *dev, uint8_t r, uint8_t g, in set_static_color() argument 74 g = scale_color_to_percent(g); in set_static_color() 83 ret = led_set_brightness(dev, LED_G, g); in set_static_color() 113 static int blink_color(const struct device *dev, bool r, bool g, bool b, in blink_color() argument 126 if (g) { in blink_color()
|
/samples/drivers/video/capture/src/ |
A D | check_test_pattern.h | 37 static inline CIELAB rgb888_to_lab(const uint8_t r, const uint8_t g, const uint8_t b) in rgb888_to_lab() argument 42 double g_lin = g / 255.0; in rgb888_to_lab() 70 uint8_t g = (color >> 8) & 0xFF; in xrgb32_to_lab() local 73 return rgb888_to_lab(r, g, b); in xrgb32_to_lab() 84 uint8_t g = (g6 * 255) / 63; in rgb565_to_lab() local 87 return rgb888_to_lab(r, g, b); in rgb565_to_lab()
|
/samples/bluetooth/hci_usb/ |
A D | README.rst | 11 board it runs on (e.g. :zephyr:board:`nrf52840dk` supports both Bluetooth LE and USB). 16 * Bluetooth stack running on the host (e.g. BlueZ)
|
/samples/drivers/led/is31fl3194/src/ |
A D | main.c | 16 uint8_t r, g, b; member
|
/samples/subsys/usb/legacy/hci_usb/ |
A D | README.rst | 15 * Bluetooth stack running on the host (e.g. BlueZ)
|
/samples/subsys/fs/littlefs/ |
A D | Kconfig | 21 bool "Use block device (e.g. SD MMC) backend"
|
/samples/boards/espressif/spiram_test/ |
A D | README.rst | 34 command with a proper board name (e.g., ``esp32s2_saola``). 40 console program (e.g., minicom, putty, screen, etc).
|
/samples/kernel/metairq_dispatch/ |
A D | sample.yaml | 18 # instrumentation (e.g. a k_busy_wait()) inside the worker threads
|
/samples/drivers/led/led_strip/src/ |
A D | main.c | 32 #define RGB(_r, _g, _b) { .r = (_r), .g = (_g), .b = (_b) }
|
/samples/bluetooth/bap_broadcast_assistant/ |
A D | README.rst | 17 Practical use of this sample requires a sink (e.g. the BAP Broadcast Audio Sink sample or 18 a set of BAP Broadcast capable earbuds) and a source (e.g. the BAP Broadcast Audio
|
/samples/subsys/bindesc/hello_bindesc/ |
A D | README.rst | 30 does not produce a ``*.bin`` file, e.g. compiling for ``native_sim``.)
|
/samples/boards/espressif/xt_wdt/ |
A D | README.rst | 39 command with a proper board name (e.g., ``esp32s2_saola``). 45 console program (e.g., minicom, putty, screen, etc).
|
/samples/sensor/heart_rate/ |
A D | README.rst | 16 * A supported heart rate sensor (e.g., MAX30101 or BH1790), available as ``heart-rate-sensor`` Devi…
|
/samples/drivers/auxdisplay_digits/ |
A D | README.rst | 31 If successful, the display first lights up all segments (e.g., 8.8.8. on a
|
/samples/sensor/light_polling/ |
A D | README.rst | 19 * A supported light sensor (e.g., `Grove Light Sensor`_), available as ``light-sensor`` Devicetree …
|
/samples/bluetooth/hci_vs_scan_req/ |
A D | README.rst | 22 * A central device & monitor (e.g. nRF Connect) to check the advertiments and
|
/samples/data_structures/min-heap/ |
A D | README.rst | 24 Replace ``<your_board>`` with your actual board name (e.g., ``native_sim``).
|
/samples/drivers/uart/echo_bot/ |
A D | README.rst | 40 # Type e.g. "Hi there!" and hit enter!
|
/samples/drivers/uart/passthrough/ |
A D | README.rst | 22 #. A second UART connected to something interesting (e.g: GPS), identified as
|
/samples/boards/st/backup_sram/ |
A D | README.rst | 10 NVM when VBAT pin is supplied with a voltage source, e.g. a coin button cell.
|
/samples/subsys/dap/ |
A D | README.rst | 19 e.g. if the SWD connections are multiplexed.
|
/samples/bluetooth/ibeacon/ |
A D | README.rst | 13 (e.g. IBEACON_RSSI=0xb8 for -72 dBm RSSI @ 1 meter), or by manually
|
/samples/bluetooth/bap_broadcast_sink/ |
A D | Kconfig | 64 audio to e.g. speakers that are also USB peripherals, but can be connected to e.g. a
|
/samples/net/latmon/ |
A D | README.rst | 74 A board with external GPIO support and an IPv4 network interface (e.g., FRDM-K64F). 105 postprocessing with the ``-g`` option, 131 root@target:~$ latmus -I gpiochip2,23,falling-edge -O gpiochip2,21 -z -g"histogram" "broadcast" 155 root@target:~$ latmus -I gpiochip2,23,falling-edge -O gpiochip2,21 -Z -g"histogram" broadcast
|
/samples/sensor/tmp11x/ |
A D | README.rst | 48 The output can be seen via a terminal emulator (e.g. minicom). Connect the board with a USB cable
|