Giter VIP home page Giter VIP logo

esp32-s3-parallel-tft-with-touch-4inch's People

Contributors

195cn avatar makerfabs avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

esp32-s3-parallel-tft-with-touch-4inch's Issues

example/LvglWidgets: capacitive touch does not work upon power up

For the example at example/LvglWidgets, capacitive touch does not work upon power up, only after hitting the reset button, does the touch start working. This happens every time after power up. This issue does not occur with example/esp32s3_4.0_tft_fw_test. This looks like an issue with the sample code, could you assist in finding the issue.

Compiling LVGL Example on Mac OSX

Hello,

I recently purchased ESP32-S3 Parallel TFT 4 inch ST7701, I am trying to compile the Example on Mac OSX and I fail to get it compile. Getting myriad of issues. Like these

In file included from /Users/jayasimha/Documents/Arduino/libraries/GFX_Library_for_Arduino/src/Arduino_GFX_Library.h:4,
                 from /Users/jayasimha/Workspace/arduino/playground/esp32/ESP32-S3-Parallel-TFT-with-Touch-4inch/example/esp32s3_4.0_tft_fw_test/esp32s3_4.0_tft_fw_test.ino:6:
/Users/jayasimha/Documents/Arduino/libraries/GFX_Library_for_Arduino/src/Arduino_DataBus.h:182:13: error: 'i80_device_list' has not been declared
  182 |   LIST_HEAD(i80_device_list, lcd_panel_io_i80_t)
      |             ^~~~~~~~~~~~~~~
/Users/jayasimha/Documents/Arduino/libraries/GFX_Library_for_Arduino/src/Arduino_DataBus.h:182:3: error: ISO C++ forbids declaration of 'LIST_HEAD' with no type [-fpermissive]
  182 |   LIST_HEAD(i80_device_list, lcd_panel_io_i80_t)
      |   ^~~~~~~~~
/Users/jayasimha/Documents/Arduino/libraries/GFX_Library_for_Arduino/src/Arduino_DataBus.h:182:48: error: expected ';' at end of member declaration
  182 |   LIST_HEAD(i80_device_list, lcd_panel_io_i80_t)
      |                                                ^
      |                                                 ;
/Users/jayasimha/Documents/Arduino/libraries/GFX_Library_for_Arduino/src/Arduino_DataBus.h:183:3: error: 'device_list' does not name a type
  183 |   device_list; // Head of i80 device list
      |   ^~~~~~~~~~~
/Users/jayasimha/Documents/Arduino/libraries/GFX_Library_for_Arduino/src/Arduino_DataBus.h:217:3: error: ISO C++ forbids declaration of 'LIST_ENTRY' with no type [-fpermissive]
  217 |   LIST_ENTRY(lcd_panel_io_i80_t)
      |   ^~~~~~~~~~
/Users/jayasimha/Documents/Arduino/libraries/GFX_Library_for_Arduino/src/Arduino_DataBus.h:217:32: error: expected ';' at end of member declaration
  217 |   LIST_ENTRY(lcd_panel_io_i80_t)
      |                                ^
      |                                 ;
/Users/jayasimha/Documents/Arduino/libraries/GFX_Library_for_Arduino/src/Arduino_DataBus.h:218:3: error: 'device_list_entry' does not name a type
  218 |   device_list_entry; // Entry of i80 device list
      |   ^~~~~~~~~~~~~~~~~
In file included from /Users/jayasimha/Documents/Arduino/libraries/GFX_Library_for_Arduino/src/Arduino_GFX_Library.h:19:
/Users/jayasimha/Documents/Arduino/libraries/GFX_Library_for_Arduino/src/databus/Arduino_ESP32RGBPanel.h:43:3: error: 'esp_lcd_rgb_panel_frame_trans_done_cb_t' does not name a type; did you mean 'esp_lcd_panel_io_color_trans_done_cb_t'?
   43 |   esp_lcd_rgb_panel_frame_trans_done_cb_t on_frame_trans_done; // Callback, invoked after frame trans done
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |   esp_lcd_panel_io_color_trans_done_cb_t
/Users/jayasimha/Workspace/arduino/playground/esp32/ESP32-S3-Parallel-TFT-with-Touch-4inch/example/esp32s3_4.0_tft_fw_test/esp32s3_4.0_tft_fw_test.ino:70:1: error: no matching function for call to 'Arduino_ESP32RGBPanel::Arduino_ESP32RGBPanel(int, int, int, int, int, int, int, int, int, int, int, int, int, int, int, int, int, int, int, int, int, int, int)'
   70 | );
      | ^
/Users/jayasimha/Documents/Arduino/libraries/GFX_Library_for_Arduino/src/databus/Arduino_ESP32RGBPanel.h:59:3: note: candidate: 'Arduino_ESP32RGBPanel::Arduino_ESP32RGBPanel(int8_t, int8_t, int8_t, int8_t, int8_t, int8_t, int8_t, int8_t, int8_t, int8_t, int8_t, int8_t, int8_t, int8_t, int8_t, int8_t, int8_t, int8_t, int8_t, int8_t, uint16_t, uint16_t, uint16_t, uint16_t, uint16_t, uint16_t, uint16_t, uint16_t, uint16_t, int32_t, bool, uint16_t, uint16_t)'
   59 |   Arduino_ESP32RGBPanel(
      |   ^~~~~~~~~~~~~~~~~~~~~
/Users/jayasimha/Documents/Arduino/libraries/GFX_Library_for_Arduino/src/databus/Arduino_ESP32RGBPanel.h:59:3: note:   candidate expects 33 arguments, 23 provided
/Users/jayasimha/Documents/Arduino/libraries/GFX_Library_for_Arduino/src/databus/Arduino_ESP32RGBPanel.h:56:7: note: candidate: 'constexpr Arduino_ESP32RGBPanel::Arduino_ESP32RGBPanel(const Arduino_ESP32RGBPanel&)'
   56 | class Arduino_ESP32RGBPanel
      |       ^~~~~~~~~~~~~~~~~~~~~
/Users/jayasimha/Documents/Arduino/libraries/GFX_Library_for_Arduino/src/databus/Arduino_ESP32RGBPanel.h:56:7: note:   candidate expects 1 argument, 23 provided
/Users/jayasimha/Documents/Arduino/libraries/GFX_Library_for_Arduino/src/databus/Arduino_ESP32RGBPanel.h:56:7: note: candidate: 'constexpr Arduino_ESP32RGBPanel::Arduino_ESP32RGBPanel(Arduino_ESP32RGBPanel&&)'
/Users/jayasimha/Documents/Arduino/libraries/GFX_Library_for_Arduino/src/databus/Arduino_ESP32RGBPanel.h:56:7: note:   candidate expects 1 argument, 23 provided
/Users/jayasimha/Workspace/arduino/playground/esp32/ESP32-S3-Parallel-TFT-with-Touch-4inch/example/esp32s3_4.0_tft_fw_test/esp32s3_4.0_tft_fw_test.ino:72:1: error: 'Arduino_ST7701_RGBPanel' does not name a type; did you mean 'Arduino_ESP32RGBPanel'?
   72 | Arduino_ST7701_RGBPanel *gfx = new Arduino_ST7701_RGBPanel(
      | ^~~~~~~~~~~~~~~~~~~~~~~
      | Arduino_ESP32RGBPanel
/Users/jayasimha/Workspace/arduino/playground/esp32/ESP32-S3-Parallel-TFT-with-Touch-4inch/example/esp32s3_4.0_tft_fw_test/esp32s3_4.0_tft_fw_test.ino: In function 'int jpegDrawCallback(JPEGDRAW*)':
/Users/jayasimha/Workspace/arduino/playground/esp32/ESP32-S3-Parallel-TFT-with-Touch-4inch/example/esp32s3_4.0_tft_fw_test/esp32s3_4.0_tft_fw_test.ino:122:3: error: 'gfx' was not declared in this scope
  122 |   gfx->draw16bitBeRGBBitmap(pDraw->x, pDraw->y, pDraw->pPixels, pDraw->iWidth, pDraw->iHeight);
      |   ^~~
/Users/jayasimha/Workspace/arduino/playground/esp32/ESP32-S3-Parallel-TFT-with-Touch-4inch/example/esp32s3_4.0_tft_fw_test/esp32s3_4.0_tft_fw_test.ino: In function 'void imageDisplay(int)':
/Users/jayasimha/Workspace/arduino/playground/esp32/ESP32-S3-Parallel-TFT-with-Touch-4inch/example/esp32s3_4.0_tft_fw_test/esp32s3_4.0_tft_fw_test.ino:149:38: error: 'gfx' was not declared in this scope
  149 |                0 /* x */, 0 /* y */, gfx->width() /* widthLimit */, gfx->height() /* heightLimit */);
      |                                      ^~~
/Users/jayasimha/Workspace/arduino/playground/esp32/ESP32-S3-Parallel-TFT-with-Touch-4inch/example/esp32s3_4.0_tft_fw_test/esp32s3_4.0_tft_fw_test.ino: In function 'void setup()':
/Users/jayasimha/Workspace/arduino/playground/esp32/ESP32-S3-Parallel-TFT-with-Touch-4inch/example/esp32s3_4.0_tft_fw_test/esp32s3_4.0_tft_fw_test.ino:225:3: error: 'gfx' was not declared in this scope
  225 |   gfx->begin();
      |   ^~~
Multiple libraries were found for "SD.h"
  Used: /Users/jayasimha/Library/Arduino15/packages/esp32/hardware/esp32/3.0.0-alpha2/libraries/SD
  Not used: /Users/jayasimha/Library/Arduino15/libraries/SDOLD
exit status 1

Compilation error: no matching function for call to 'Arduino_ESP32RGBPanel::Arduino_ESP32RGBPanel(int, int, int, int, int, int, int, int, int, int, int, int, int, int, int, int, int, int, int, int, int, int, int)'

Could some one help me point to a guide that can help me compile the sample code and help me get started developing on this board?

Thanks,
JR

Speeding up things

Hi!

is there a way to make the animations (scrolling, etc) on the LVGL Widget demo perform better?
When the screen is just showing a picture, it has a refresh rate of 33 FPS. However, when I scroll or change tabs, it drops down to 4 fps and it's lagging really bad. I've tried to change the gfx->begin(), and to change the main ESP32S3 system clock speed to 240MHz, but I'm getting the same result every time.

rotation values 1 and 3 do not work

Arduino_ST7701_RGBPanel *gfx = new Arduino_ST7701_RGBPanel(
    bus, GFX_NOT_DEFINED /* RST */, 0 /* rotation */, true /* IPS */,
    480 /* width */, 480 /* height */, st7701_type1_init_operations,
    sizeof(st7701_type1_init_operations), true /* BGR */);

In the above code, of the 4 rotation values 0,1,2,3. Only 0 and 2 works. 3 and 4 do not work. How do I fix it?

Switching on and off in battery operation

I can't find any information about switching it on and off in battery mode.
Neither in the wiki nor in the examples.

It would be nice if you could provide information about this.

I think this is a basic function

Thanks

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.