Open ARC-MX opened 2 years ago
I found this bug because there is no "interface_i2s->interface_drv.write_command" function in "scr_interface_driver.c" for SPI or I2C interfaces.When using LCD_WRITE_CMD, the macro definition of g_lcd_handle.interface_drv->write_command causes an error. Please fix this bug as soon as possible.
You are right. there is no initialization for pointer of write_command. Only the 8080 interface initialized this pointer: https://github.com/espressif/esp-iot-solution/blob/ff6da114532ef11768fa2516149cf921c538722a/components/display/screen/interface_driver/scr_interface_driver.c#L299
Environment
Development Kit: [WeMos ]
Kit version (for WroverKit/PicoKit/DevKitC): [v1|v2|v3|v4]
Module or chip used: [ESP32-WROOM-32]
IDF version (run
git describe --tags
to find it): // v4.3.2Problem Description
My LCD monitor should show the relevant image, but it didn't show it successfully, I use a custom board WeMos and want to use the iot driver to display something on the lcd, so I wrote my code with reference to the test of ssd1306 in "lcd_mono_test.c", but found that the initialization of the lcd could not pass, and could not locate, can you Provide relevant interface usage routines //Detailed problem description goes here.
Expected Behavior
My LCD monitor should show the relevant image, but it didn't show it successfully
Actual Behavior
"lcd.init(&lcd_cfg)" failed, The initialization of the LCD display did not succeed
Steps to repropduce
// It helps if you attach a picture of your setup/wiring here.
Code to reproduce this issue