led_matrix/components/hub75/hub75.h

16 lines
527 B
C
Raw Permalink Normal View History

2024-01-28 19:03:19 +08:00
#ifndef __HUB75_H__
#define __HUB75_H__
#include "esp_lcd_panel_vendor.h"
typedef struct {
int line_addr_num; /* 行地址GPIO数量 */
int line_addr_gpio_num[5]; /* 行地址GPIO */
int lat_gpio_num; /* 行数据锁存GPIO 下降沿 */
int oe_gpio_num; /* 使能显示GPIO 低电平*/
} hub75_panel_config_t;
esp_err_t esp_lcd_new_panel_hub75(const esp_lcd_panel_io_handle_t io, const hub75_panel_config_t *panel_dev_config, esp_lcd_panel_handle_t *ret_panel);
#endif