Home
last modified time | relevance | path

Searched refs:strip (Results 1 – 25 of 53) sorted by relevance

123

/hal_espressif-3.6.0/examples/peripherals/rmt/led_strip/main/
Dled_strip_main.c91 led_strip_t *strip = led_strip_new_rmt_ws2812(&strip_config); in app_main() local
92 if (!strip) { in app_main()
96 ESP_ERROR_CHECK(strip->clear(strip, 100)); in app_main()
106 ESP_ERROR_CHECK(strip->set_pixel(strip, j, red, green, blue)); in app_main()
109 ESP_ERROR_CHECK(strip->refresh(strip, 100)); in app_main()
111 strip->clear(strip, 50); in app_main()
DKconfig.projbuild9 int "Number of LEDS in a strip"
12 A single RGB strip contains several LEDs.
/hal_espressif-3.6.0/examples/common_components/led_strip/
Dled_strip_rmt_ws2812.c98 static esp_err_t ws2812_set_pixel(led_strip_t *strip, uint32_t index, uint32_t red, uint32_t green,… in ws2812_set_pixel() argument
101 ws2812_t *ws2812 = __containerof(strip, ws2812_t, parent); in ws2812_set_pixel()
113 static esp_err_t ws2812_refresh(led_strip_t *strip, uint32_t timeout_ms) in ws2812_refresh() argument
116 ws2812_t *ws2812 = __containerof(strip, ws2812_t, parent); in ws2812_refresh()
124 static esp_err_t ws2812_clear(led_strip_t *strip, uint32_t timeout_ms) in ws2812_clear() argument
126 ws2812_t *ws2812 = __containerof(strip, ws2812_t, parent); in ws2812_clear()
129 return ws2812_refresh(strip, timeout_ms); in ws2812_clear()
132 static esp_err_t ws2812_del(led_strip_t *strip) in ws2812_del() argument
134 ws2812_t *ws2812 = __containerof(strip, ws2812_t, parent); in ws2812_del()
202 esp_err_t led_strip_denit(led_strip_t *strip) in led_strip_denit() argument
[all …]
/hal_espressif-3.6.0/examples/common_components/led_strip/include/
Dled_strip.h53 …esp_err_t (*set_pixel)(led_strip_t *strip, uint32_t index, uint32_t red, uint32_t green, uint32_t …
69 esp_err_t (*refresh)(led_strip_t *strip, uint32_t timeout_ms);
82 esp_err_t (*clear)(led_strip_t *strip, uint32_t timeout_ms);
93 esp_err_t (*del)(led_strip_t *strip);
143 esp_err_t led_strip_denit(led_strip_t *strip);
/hal_espressif-3.6.0/tools/mass_mfg/
Dmfg_gen.py52 config_data_line = config_data.strip().split(',')
80 line = data.strip().split(',')
100 line = data.strip().split(',')
138 values_file_data = values_file_line.strip().split(',')
174 cfg_data = data.strip().split(',')
270 values = values.strip().split(',')
277 row = line.strip().split(',')
301 row = line.strip().split(',')
324 keys = line.strip().split(',')
348 values_data_line = line.strip().split(',')
[all …]
/hal_espressif-3.6.0/examples/peripherals/rmt/led_strip/
DREADME.md5 …n RMT peripheral. This example will illustrate how to drive an WS2812 LED strip based on the RMT d…
13 * A WS2812 LED strip
34 * Set the number of LEDs in a strip under `Number of LEDS in a strip` option.
46 Connect the `DI` signal of WS2812 LED strip to the GPIO you set in menuconfig.
/hal_espressif-3.6.0/components/esptool_py/esptool/espefuse/efuse/
Dutil.py37 config = line.strip().split("=", 1)
40 True if config[1] == "y" else config[1].strip('"')
/hal_espressif-3.6.0/tools/ci/
Dcheck_codeowners.py25 …return subprocess.check_output(['git', 'ls-files'], cwd=IDF_PATH).decode('utf-8').strip().split('\…
84 line = line.strip()
120 line = line.strip()
Didf_ci_utils.py38 '--get-regexp', 'path']).decode('utf8').strip().split('\n')
53 …stdout = subprocess.check_output(['git', 'ls-files', '--stage', full_path]).strip().decode('utf-8')
82 … files = subprocess.check_output(['git', 'ls-files'], cwd=path).decode('utf8').strip().split('\n')
Dcheck_executables.py28 res.append(item.strip())
Dcheck_type_comments.py61 ignore_list = [item.strip() for item in f.readlines()]
/hal_espressif-3.6.0/docs/
Dconf_common.py177 …lines = [re.sub(' +', ' ', line.strip()) for line in f.readlines() if line.strip() != '' and not l…
/hal_espressif-3.6.0/examples/storage/semihost_vfs/
Dsemihost_vfs_example_test.py38 file_content = [line.strip() for line in f]
53 raise RuntimeError('"{}" != "{}"'.format(expected, actual.strip()))
/hal_espressif-3.6.0/tools/
Dgen_esp_err_to_name.py144 comment = m.group(1).strip()
145 todo_str = todo_str[:m.start()].strip() # keep just the part before the comment
303 fout.write(' %s' % w[0].strip())
350 line = line.strip()
/hal_espressif-3.6.0/tools/ci/python_packages/tiny_test_fw/bin/
DRunner.py62 if not line.strip():
64 without_comments = line.split('#')[0].strip()
/hal_espressif-3.6.0/components/bootloader/subproject/components/micro-ecc/micro-ecc/
Demk_project.py61 link.strip = True
90 link.strip = True
/hal_espressif-3.6.0/tools/ldgen/
Dldgen.py125 check_mapping_exceptions = [line.strip() for line in args.check_mapping_exceptions]
132 library = library.strip()
/hal_espressif-3.6.0/tools/cmake/
Dconvert_to_cmake.py53 result[m.group('var')] = m.group('val').strip()
125 p = subprocess.check_output(cmd).decode('utf-8').strip()
/hal_espressif-3.6.0/tools/kconfig_new/test/confserver/
Dtest_confserver.py18 cases = [line for line in f.readlines() if len(line.strip()) > 0]
101 result = p.match.group(0).strip().decode()
/hal_espressif-3.6.0/examples/custom_bootloader/bootloader_override/
Dexample_test.py15 … welcome_message = dut.app.get_sdkconfig()['CONFIG_EXAMPLE_BOOTLOADER_WELCOME_MESSAGE'].strip("\"")
/hal_espressif-3.6.0/tools/test_idf_size/
Djson_validate_test.py22 print(input_json.strip('\n'))
/hal_espressif-3.6.0/tools/unit-test-app/
Didf_ext.py68 target = config.get('CONFIG_IDF_TARGET', 'esp32').strip("'").strip('"')
/hal_espressif-3.6.0/components/espcoredump/corefile/
D_parse_soc_header.py32 target_constants[attr] = literal_eval(line.strip().split()[-1])
/hal_espressif-3.6.0/tools/windows/
Declipse_make.py24 winpath = subprocess.check_output(['cygpath', '-w', path]).decode('utf-8').strip()
/hal_espressif-3.6.0/tools/kconfig/
Dconf.c58 static void strip(char *str) in strip() function
200 strip(line); in conf_sym()
316 strip(line); in conf_choice()

123