Search found 6 matches
- Thu Nov 28, 2024 6:34 pm
- Forum: ESP IoT Solution
- Topic: How to draw in the EK79007 for the esp32-p4 dev kit
- Replies: 10
- Views: 24139
Re: How to draw in the EK79007 for the esp32-p4 dev kit
Thanks a lot for all the help!

- Sun Nov 24, 2024 9:31 am
- Forum: ESP IoT Solution
- Topic: How to draw in the EK79007 for the esp32-p4 dev kit
- Replies: 10
- Views: 24139
Re: How to draw in the EK79007 for the esp32-p4 dev kit
hi, I have been trying the set_pixel function. Right now I have this:
esp_err_t panel_ek79007_set_pixel (esp_lcd_panel_t *panel, uint16_t x, uint16_t y, uint16_t color)
{
ESP_LOGI(TAG, "Setting pixel");
ek79007_panel_t *ek79007 = (ek79007_panel_t *) panel->user_data;
esp_lcd_panel_io_handle_t ...
esp_err_t panel_ek79007_set_pixel (esp_lcd_panel_t *panel, uint16_t x, uint16_t y, uint16_t color)
{
ESP_LOGI(TAG, "Setting pixel");
ek79007_panel_t *ek79007 = (ek79007_panel_t *) panel->user_data;
esp_lcd_panel_io_handle_t ...
- Sun Nov 24, 2024 8:49 am
- Forum: ESP IoT Solution
- Topic: How to draw in the EK79007 for the esp32-p4 dev kit
- Replies: 10
- Views: 24139
Re: How to draw in the EK79007 for the esp32-p4 dev kit
Thanks a lot! It worked!
Now, how can I work at a lower level and only change the value of a single pixel? Instead of sending the whole frame buffer, I want to communicate directly with the controller to send the value of that specific pixel and see it change.
Thanks again for the help!
Now, how can I work at a lower level and only change the value of a single pixel? Instead of sending the whole frame buffer, I want to communicate directly with the controller to send the value of that specific pixel and see it change.
Thanks again for the help!
- Sat Nov 23, 2024 9:17 pm
- Forum: ESP IoT Solution
- Topic: How to draw in the EK79007 for the esp32-p4 dev kit
- Replies: 10
- Views: 24139
Re: How to draw in the EK79007 for the esp32-p4 dev kit
This is how I am initializing the display, following the test for the display.
#define PANEL_MIPI_DSI_DPI_CLK_MHZ 52
#define PANEL_MIPI_DSI_LCD_H_RES 1024
#define PANEL_MIPI_DSI_LCD_V_RES 600
#define PANEL_MIPI_DSI_LCD_HSYNC 10
#define PANEL_MIPI_DSI_LCD_HBP 160
#define PANEL_MIPI_DSI_LCD_HFP 160 ...
#define PANEL_MIPI_DSI_DPI_CLK_MHZ 52
#define PANEL_MIPI_DSI_LCD_H_RES 1024
#define PANEL_MIPI_DSI_LCD_V_RES 600
#define PANEL_MIPI_DSI_LCD_HSYNC 10
#define PANEL_MIPI_DSI_LCD_HBP 160
#define PANEL_MIPI_DSI_LCD_HFP 160 ...
- Thu Nov 21, 2024 5:27 pm
- Forum: ESP IoT Solution
- Topic: How to draw in the EK79007 for the esp32-p4 dev kit
- Replies: 10
- Views: 24139
Re: How to draw in the EK79007 for the esp32-p4 dev kit
Thanks for the response!
I believe I am doing the same that you, mine is a bit different,
static void test_draw_color (esp_lcd_panel_handle_t * panel_handle, uint16_t h_res, uint16_t v_res)
{
uint16_t *color = (uint16_t *) heap_caps_calloc (1, h_res * v_res, MALLOC_CAP_DMA);
if (color == NULL ...
I believe I am doing the same that you, mine is a bit different,
static void test_draw_color (esp_lcd_panel_handle_t * panel_handle, uint16_t h_res, uint16_t v_res)
{
uint16_t *color = (uint16_t *) heap_caps_calloc (1, h_res * v_res, MALLOC_CAP_DMA);
if (color == NULL ...
- Sat Nov 16, 2024 8:01 pm
- Forum: ESP IoT Solution
- Topic: How to draw in the EK79007 for the esp32-p4 dev kit
- Replies: 10
- Views: 24139
How to draw in the EK79007 for the esp32-p4 dev kit
Hi! :D I want to make a simple code where the screen goes to red, green and blue in a loop to practice.
But I don't find how to make it work.
static void test_draw_color_pattern (esp_lcd_panel_handle_t * panel_handle, uint16_t h_res, uint16_t v_res)
{
uint16_t *color = (uint16_t *) heap_caps ...
But I don't find how to make it work.
static void test_draw_color_pattern (esp_lcd_panel_handle_t * panel_handle, uint16_t h_res, uint16_t v_res)
{
uint16_t *color = (uint16_t *) heap_caps ...