esp-who/components/modules/lcd/who_lcd.h

28 lines
510 B
C

#pragma once
#include <stdint.h>
#include "esp_log.h"
#include "screen_driver.h"
#define BOARD_LCD_MOSI 46
#define BOARD_LCD_MISO -1
#define BOARD_LCD_SCK 21
#define BOARD_LCD_CS 44
#define BOARD_LCD_DC 47
#define BOARD_LCD_RST -1
#define BOARD_LCD_BL 48
#ifdef __cplusplus
extern "C"
{
#endif
esp_err_t register_lcd(const QueueHandle_t frame_i, const QueueHandle_t frame_o, const bool return_fb);
void app_lcd_draw_wallpaper();
void app_lcd_set_color(int color);
#ifdef __cplusplus
}
#endif