EasyManuals Logo

Espressif ESP32-S2 User Manual

Espressif ESP32-S2
1695 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #326 background imageLoading...
Page #326 background image
Chapter 2. API Reference
esp_err_t esp_lcd_new_panel_nt35510(const esp_lcd_panel_io_handle_t io, const
esp_lcd_panel_dev_config_t *panel_dev_config,
esp_lcd_panel_handle_t *ret_panel)
Create LCD panel for model NT35510.
Return
ESP_ERR_INVALID_ARG if parameter is invalid
ESP_ERR_NO_MEM if out of memory
ESP_OK on success
Parameters
[in] io: LCD panel IO handle
[in] panel_dev_config: general panel device configuration
[out] ret_panel: Returned LCD panel handle
esp_err_t esp_lcd_new_panel_ssd1306(const esp_lcd_panel_io_handle_t io, const
esp_lcd_panel_dev_config_t *panel_dev_config,
esp_lcd_panel_handle_t *ret_panel)
Create LCD panel for model SSD1306.
Return
ESP_ERR_INVALID_ARG if parameter is invalid
ESP_ERR_NO_MEM if out of memory
ESP_OK on success
Parameters
[in] io: LCD panel IO handle
[in] panel_dev_config: general panel device configuration
[out] ret_panel: Returned LCD panel handle
Structures
struct esp_lcd_panel_dev_config_t
Configuration structure for panel device.
Public Members
int reset_gpio_num
GPIO used to reset the LCD panel, set to -1 if its not used
esp_lcd_color_space_t color_space
Set the color space used by the LCD panel
unsigned int bits_per_pixel
Color depth, in bpp
unsigned int reset_active_high : 1
Setting this if the panel reset is high level active
2.2.11 LED Control (LEDC)
Introduction
The LED control (LEDC) peripheral is primarily designed to control the intensity of LEDs, although it can also be
used to generate PWM signals for other purposes. It has 8 channels which can generate independent waveforms that
can be used, for example, to drive RGB LED devices.
The PWM controller can automatically increase or decrease the duty cycle gradually, allowing for fades without any
processor interference.
Espressif Systems 315
Submit Document Feedback
Release v4.4

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Espressif ESP32-S2 and is the answer not in the manual?

Espressif ESP32-S2 Specifications

General IconGeneral
BrandEspressif
ModelESP32-S2
CategorySingle board computers
LanguageEnglish