Home
last modified time | relevance | path

Searched refs:rgb (Results 1 – 25 of 31) sorted by relevance

12

/Zephyr-latest/samples/drivers/misc/grove_display/src/
Dmain.c38 int rgb[] = { 0x0, 0x0, 0x0 }; in main() local
79 m = (rgb[2] > 255) ? (512 - rgb[2]) : (rgb[2]); in main()
82 m = (rgb[1] > 255) ? (512 - rgb[1]) : (rgb[1]); in main()
85 m = (rgb[0] > 255) ? (512 - rgb[0]) : (rgb[0]); in main()
110 rgb[2] += rgb_step; in main()
111 if (rgb[2] > 511) { in main()
112 rgb[2] = 0; in main()
113 rgb[1] += rgb_step; in main()
115 if (rgb[1] > 511) { in main()
116 rgb[1] = 0; in main()
[all …]
/Zephyr-latest/doc/services/ipc/ipc_service/backends/
Dicbmsg_flows.svg4 …<rect x="150" y="50" width="120" height="60" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" point…
9 …<div data-drawio-colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; tex…
10 …le="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-heig…
18 …<text x="210" y="84" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="12px" text-anchor="mid…
23 …<rect x="350" y="50" width="120" height="60" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" point…
28 …<div data-drawio-colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; tex…
29 …le="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-heig…
37 …<text x="410" y="84" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="12px" text-anchor="mid…
42 …<ellipse cx="40" cy="57.5" rx="7.5" ry="7.5" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" point…
43 … 70 M 40 70 L 55 70 M 40 90 L 25 110 M 40 90 L 55 110" fill="none" stroke="rgb(0, 0, 0)" stroke-mi…
[all …]
Dicbmsg_memory.svg9 …<div data-drawio-colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; tex…
10 …le="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-heig…
16 …<text x="67" y="144" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="12px" text-anchor="mid…
26 …<div data-drawio-colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; tex…
27 …le="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-heig…
33 …<text x="227" y="144" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="12px" text-anchor="mi…
43 …<div data-drawio-colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; tex…
44 …le="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-heig…
50 …<text x="87" y="244" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="12px" text-anchor="mid…
60 …<div data-drawio-colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; tex…
[all …]
Dicbmsg_message.svg9 …<div data-drawio-colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; tex…
10 …le="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-heig…
16 …<text x="40" y="25" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="12px" text-anchor="midd…
26 …<div data-drawio-colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; tex…
27 …le="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-heig…
33 …<text x="120" y="25" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="12px" text-anchor="mid…
43 …<div data-drawio-colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; tex…
44 …le="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-heig…
50 …<text x="200" y="25" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="12px" text-anchor="mid…
60 …<div data-drawio-colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; tex…
[all …]
/Zephyr-latest/doc/safety/images/
Dzephyr-safety-process.svg1rgb(255, 255, 255);"><defs/><g><path d="M 578 181 L 698 181 L 698 196 L 688 211 L 578 211 Z" fill=…
DIEC-61508-basis.svg1rgb(255, 255, 255);"><defs><linearGradient x1="0%" y1="0%" x2="0%" y2="100%" id="mx-gradient-dae8f…
/Zephyr-latest/samples/drivers/led/apa102c_bitbang/src/
Dmain.c39 uint32_t rgb[] = { variable
50 void send_rgb(const struct device *gpio_dev, uint32_t rgb) in send_rgb() argument
56 gpio_pin_set_raw(gpio_dev, GPIO_DATA_PIN, (rgb & BIT(31)) != 0); in send_rgb()
62 rgb <<= 1; in send_rgb()
94 send_rgb(gpio_dev, rgb[(idx + leds) % NUM_RGB]); in main()
/Zephyr-latest/samples/sensor/th02/boards/
Dfrdm_k64f.overlay14 compatible = "seeed,grove-lcd-rgb";
/Zephyr-latest/samples/drivers/misc/grove_display/boards/
Dserpente.overlay34 compatible = "seeed,grove-lcd-rgb";
/Zephyr-latest/scripts/kconfig/
Dmenuconfig.py358 def _rgb_to_6cube(rgb): argument
371 return tuple(0 if x < 48 else int(round(max(1, (x - 55)/40))) for x in rgb)
380 def _rgb_to_gray(rgb): argument
388 luma = 0.299*rgb[0] + 0.587*rgb[1] + 0.114*rgb[2]
406 def _alloc_rgb(rgb, rgb2index={}): argument
419 if rgb in rgb2index:
420 return rgb2index[rgb]
426 _warn("Unable to allocate new RGB color ", rgb, ". Too many colors "
432 curses.init_color(color_index, *(int(round(1000*x/255)) for x in rgb))
433 rgb2index[rgb] = color_index
[all …]
/Zephyr-latest/boards/shields/st7789v_generic/
Dst7789v_tl019fqv01.overlay44 rgb-param = [CD 08 14];
Dst7789v_waveshare_240x240.overlay46 rgb-param = [CD 08 14];
/Zephyr-latest/boards/shields/lcd_par_s035/boards/
Drd_rw612_bga.overlay77 * Note that this display is *not* buggy- we use rgb-is-inverted
86 rgb-is-inverted;
/Zephyr-latest/boards/innblue/innblue21/
Dinnblue21_common.dtsi73 rgb-pwm = &pwm0;
/Zephyr-latest/boards/innblue/innblue22/
Dinnblue22_common.dtsi65 rgb-pwm = &pwm0;
/Zephyr-latest/boards/m5stack/m5stack_atoms3/
Dm5stack_atoms3_procpu.dts87 rgb-param = [40 02 14];
/Zephyr-latest/boards/sipeed/longan_nano/
Dlongan_nano-common.dtsi89 rgb-is-inverted;
/Zephyr-latest/samples/basic/rgb_led/
DREADME.rst1 .. zephyr:code-sample:: rgb-led
/Zephyr-latest/boards/fanke/fk750m1_vbt6/
Dfk750m1_vbt6.dts67 rgb-param = [CD 08 14];
/Zephyr-latest/boards/espressif/esp32s3_eye/
Desp32s3_eye_procpu.dts111 rgb-param = [CD 08 14];
/Zephyr-latest/boards/weact/mini_stm32h7b0/
Dmini_stm32h7b0.dts57 rgb-is-inverted;
/Zephyr-latest/boards/m5stack/m5stickc_plus/
Dm5stickc_plus_procpu.dts98 rgb-param = [40 02 14];
/Zephyr-latest/boards/weact/mini_stm32h743/
Dmini_stm32h743.dts55 rgb-is-inverted;
/Zephyr-latest/samples/drivers/led/led_strip/
DREADME.rst99 .. _RGB LED strips\: an overview: http://nut-bolt.nl/2012/rgb-led-strips/
/Zephyr-latest/boards/pine64/pinetime_devkit0/
Dpinetime_devkit0.dts114 rgb-param = [CD 08 14];

12