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
13
extern
"C"
14
{
15
#endif
16
20
typedef
struct
21
{
22
uint32_t
resolution
;
23
}
led_strip_encoder_config_t
;
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
rmt_new_led_strip_encoder
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
led_strip_encoder_config_t::resolution
uint32_t resolution
Definition
led_strip_encoder.h:22
led_strip_encoder_config_t
Type of led strip encoder configuration.
Definition
led_strip_encoder.h:21
components
hdw-led
led_strip_encoder.h
Generated by
1.10.0