Navigation

    LILYGO

    • Register
    • Login
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    1. Home
    2. Natter_LT
    3. Best
    N
    • Profile
    • Following 0
    • Followers 1
    • Topics 1
    • Posts 2
    • Best 1
    • Groups 0

    Best posts made by Natter_LT

    • RE: Lilygo T-RGB 2.8" display not working with SquareLine Studio

      Yestedray at late night 🙂 finaly managed to work, to do this I deleted almost all code from ui.ino file, used Lilygo suplied libraries of lvgl, now code of ui.ino looks like this:

      #include <LilyGo_RGBPanel.h>
      #include <LV_Helper.h>
      #include <TFT_eSPI.h>
      #include <ui.h>

      LilyGo_RGBPanel panel;

      void setup()
      {
      Serial.begin(115200);

      // Initialize T-RGB, if the initialization fails, false will be returned.
      if (!panel.begin()) {
          while (1) {
              Serial.println("Error, failed to initialize T-RGB"); delay(1000);
          }
      }
      
      // Call lvgl initialization
      beginLvglHelper(panel);
      
      
      ui_init();
      
      Serial.println( "Setup done" );
      panel.setBrightness(16);    
      

      }

      void loop()
      {
      lv_timer_handler(); /* let the GUI do its work */
      delay(5);
      }

      Later will make SLS template, thanks for advices ;-).

      posted in Common problems
      N
      Natter_LT