You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
\Arduino\libraries\GFX_Library_for_Arduino\src\databus\Arduino_ESP32QSPI.cpp:59:21: error: 'ESP_INTR_CPU_AFFINITY_AUTO' was not declared in this scope
.isr_cpu_id = ESP_INTR_CPU_AFFINITY_AUTO,
^~~~~~~~~~~~~~~~~~~~~~~~~~
\Arduino\libraries\GFX_Library_for_Arduino\src\databus\Arduino_ESP32QSPI.cpp:59:21: note: suggested alternative: 'ESP_ETH_PHY_ADDR_AUTO'
.isr_cpu_id = ESP_INTR_CPU_AFFINITY_AUTO,
^~~~~~~~~~~~~~~~~~~~~~~~~~
ESP_ETH_PHY_ADDR_AUTO
\libraries\GFX_Library_for_Arduino\src\databus\Arduino_ESP32QSPI.cpp:60:22: error: 'spi_bus_config_t' has no non-static data member named 'isr_cpu_id'
.intr_flags = 0};
^
\libraries\GFX_Library_for_Arduino\src\databus\Arduino_ESP32QSPI.cpp:73:23: error: 'SPI_CLK_SRC_DEFAULT' was not declared in this scope
.clock_source = SPI_CLK_SRC_DEFAULT,
^~~~~~~~~~~~~~~~~~~
\Arduino\libraries\GFX_Library_for_Arduino\src\databus\Arduino_ESP32RGBPanel.cpp: In member function 'uint16_t* Arduino_ESP32RGBPanel::getFrameBuffer(int16_t, int16_t)':
\Arduino\libraries\GFX_Library_for_Arduino\src\databus\Arduino_ESP32RGBPanel.cpp:93:3: error: 'esp_lcd_rgb_panel_config_t::' has no non-static data member named 'refresh_on_demand'
};
^
\Arduino\libraries\GFX_Library_for_Arduino\src\databus\Arduino_ESP32QSPI.cpp:73:23: note: suggested alternative: 'LCD_CLK_SRC_XTAL'
.clock_source = SPI_CLK_SRC_DEFAULT,
^~~~~~~~~~~~~~~~~~~
LCD_CLK_SRC_XTAL
\Arduino\libraries\GFX_Library_for_Arduino\src\databus\Arduino_ESP32QSPI.cpp:83:25: error: 'spi_device_interface_config_t' has no non-static data member named 'clock_source'
.post_cb = nullptr};
^
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
\Arduino\libraries\GFX_Library_for_Arduino\src\databus\Arduino_ESP32QSPI.cpp:59:21: error: 'ESP_INTR_CPU_AFFINITY_AUTO' was not declared in this scope
.isr_cpu_id = ESP_INTR_CPU_AFFINITY_AUTO,
^~~~~~~~~~~~~~~~~~~~~~~~~~
\Arduino\libraries\GFX_Library_for_Arduino\src\databus\Arduino_ESP32QSPI.cpp:59:21: note: suggested alternative: 'ESP_ETH_PHY_ADDR_AUTO'
.isr_cpu_id = ESP_INTR_CPU_AFFINITY_AUTO,
^~~~~~~~~~~~~~~~~~~~~~~~~~
ESP_ETH_PHY_ADDR_AUTO
\libraries\GFX_Library_for_Arduino\src\databus\Arduino_ESP32QSPI.cpp:60:22: error: 'spi_bus_config_t' has no non-static data member named 'isr_cpu_id'
.intr_flags = 0};
^
\libraries\GFX_Library_for_Arduino\src\databus\Arduino_ESP32QSPI.cpp:73:23: error: 'SPI_CLK_SRC_DEFAULT' was not declared in this scope
.clock_source = SPI_CLK_SRC_DEFAULT,
^~~~~~~~~~~~~~~~~~~
\Arduino\libraries\GFX_Library_for_Arduino\src\databus\Arduino_ESP32RGBPanel.cpp: In member function 'uint16_t* Arduino_ESP32RGBPanel::getFrameBuffer(int16_t, int16_t)':
\Arduino\libraries\GFX_Library_for_Arduino\src\databus\Arduino_ESP32RGBPanel.cpp:93:3: error: 'esp_lcd_rgb_panel_config_t::' has no non-static data member named 'refresh_on_demand'
};
^
\Arduino\libraries\GFX_Library_for_Arduino\src\databus\Arduino_ESP32QSPI.cpp:73:23: note: suggested alternative: 'LCD_CLK_SRC_XTAL'
.clock_source = SPI_CLK_SRC_DEFAULT,
^~~~~~~~~~~~~~~~~~~
LCD_CLK_SRC_XTAL
\Arduino\libraries\GFX_Library_for_Arduino\src\databus\Arduino_ESP32QSPI.cpp:83:25: error: 'spi_device_interface_config_t' has no non-static data member named 'clock_source'
.post_cb = nullptr};
^
My code:
#define GFX_BL DF_GFX_BL // default backlight pin, you may replace DF_GFX_BL to actual backlight pin
#define TFT_BL 2
//#define GFX_BL 2
/* More dev device declaration: https://github.com/moononournation/Arduino_GFX/wiki/Dev-Device-Declaration */
/* More data bus class: https://github.com/moononournation/Arduino_GFX/wiki/Data-Bus-Class */
//Arduino_DataBus *bus = create_default_Arduino_DataBus();
/* More display class: https://github.com/moononournation/Arduino_GFX/wiki/Display-Class */
//Arduino_GFX gfx = new Arduino_ILI9341(bus, DF_GFX_RST, 0 / rotation /, false / IPS */);
Arduino_ESP32RGBPanel rgbpanel = new Arduino_ESP32RGBPanel(
40 / DE /, 41 / VSYNC /, 39 / HSYNC /, 42 / PCLK /,
45 / R0 /, 48 / R1 /, 47 / R2 /, 21 / R3 /, 14 / R4 /,
5 / G0 /, 6 / G1 /, 7 / G2 /, 15 / G3 /, 16 / G4 /, 4 / G5 /,
8 / B0 /, 3 / B1 /, 46 / B2 /, 9 / B3 /, 1 / B4 /,
0 / hsync_polarity /, 8 / hsync_front_porch /, 4 / hsync_pulse_width /, 8 / hsync_back_porch /,
0 / vsync_polarity /, 8 / vsync_front_porch /, 4 / vsync_pulse_width /, 8 / vsync_back_porch /,
1 / pclk_active_neg /, 16000000 / prefer_speed */, true
);
// ST7262 IPS LCD 800x480
Arduino_RGB_Display gfx = new Arduino_RGB_Display(
800 / width /, 480 / height */, rgbpanel);
Beta Was this translation helpful? Give feedback.
All reactions