Swadge 2024 2.0.0
APIs to develop games for the Magfest Swadge
Loading...
Searching...
No Matches
led_strip_encoder.h
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2021-2022 Espressif Systems (Shanghai) CO LTD
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6#pragma once
7
8#include <stdint.h>
9
10#include <driver/rmt_encoder.h>
11
12#ifdef __cplusplus
13extern "C"
14{
15#endif
16
20 typedef struct
21 {
22 uint32_t resolution;
24
35 esp_err_t rmt_new_led_strip_encoder(const led_strip_encoder_config_t* config, rmt_encoder_handle_t* ret_encoder);
36
37#ifdef __cplusplus
38}
39#endif
esp_err_t rmt_new_led_strip_encoder(const led_strip_encoder_config_t *config, rmt_encoder_handle_t *ret_encoder)
Create RMT encoder for encoding LED strip pixels into RMT symbols.
Definition led_strip_encoder.c:89
uint32_t resolution
Definition led_strip_encoder.h:22
Type of led strip encoder configuration.
Definition led_strip_encoder.h:21