17 lines
388 B
C
17 lines
388 B
C
#pragma once
|
|
|
|
#include <stdbool.h>
|
|
#include <stdint.h>
|
|
|
|
#include "esp_err.h"
|
|
|
|
// Initializes the CrowPanel V3 RGB panel, backlight, I2C touch reset sequence,
|
|
// GT911 polling, and LVGL display/input drivers.
|
|
esp_err_t board_init(void);
|
|
|
|
void board_set_brightness(uint8_t percent);
|
|
uint8_t board_get_brightness(void);
|
|
|
|
bool board_touch_available(void);
|
|
uint32_t board_last_touch_ms(void);
|