Navigation

    LILYGO

    • Register
    • Login
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups

    T-rgb (half circle)

    Product information
    t-rgb
    2
    15
    932
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • teastain2
      teastain2 @basvandepavert last edited by

      @basvandepavert The S3 ESP32 variant can be tricky with connection.
      On Arduino IDE select ESP32S3-Dev Module
      If you do not see a port, press the Boot button and hold. Then press Reset button and release, then release Boot. See if a port opens up.
      This is just a start, get back to me of you need more help!
      -Terry

      teastain2 1 Reply Last reply Reply Quote 0
      • teastain2
        teastain2 @teastain2 last edited by

        @teastain2 Simple Serial Monitor test code:

        bool ticktock = true;
        
        void setup() {
        Serial.begin (115200);
        }
        
        void loop() {
        ticktock = !ticktock;
          if (ticktock) {
            Serial.println("tick");  
          } else {
            Serial.println("tock");
          }
        delay (1000);
        }
        
        B 2 Replies Last reply Reply Quote 0
        • B
          basvandepavert @teastain2 last edited by

          @teastain2
          Hi Terry, this tick-tock works! I see the output in the Serial monitor
          So, connection is OK

          I use the board LilyGo T-Display-S3 an I can now compile, upload and run the display.ino example:-)

          However, the factory.ino gives me many errors that seem to be related to the lvgl library. There are many lvgl libraries, which one do I need to install for the factory.ino to compile?

          Again, your help is really preventing me from giving up!!

          1 Reply Last reply Reply Quote 1
          • B
            basvandepavert @teastain2 last edited by

            @teastain2
            When I compile the factory.ino I get these messages:
            H:\Bas\Arduino\Sketches\T-RGB\factory\photo2.c:24:30: error: unknown type name 'LV_ATTRIBUTE_LARGE_CONST'
            const LV_ATTRIBUTE_MEM_ALIGN LV_ATTRIBUTE_LARGE_CONST LV_ATTRIBUTE_IMG_PHOTO2 uint8_t photo2_map[] = {
            ^~~~~~~~~~~~~~~~~~~~~~~~
            H:\Bas\Arduino\Sketches\T-RGB\factory\photo2.c:24:87: error: expected '=', ',', ';', 'asm' or 'attribute' before 'photo2_map'
            const LV_ATTRIBUTE_MEM_ALIGN LV_ATTRIBUTE_LARGE_CONST LV_ATTRIBUTE_IMG_PHOTO2 uint8_t photo2_map[] = {
            ^~~~~~~~~~
            H:\Bas\Arduino\Sketches\T-RGB\factory\photo2.c:1959:7: error: unknown type name 'lv_img_dsc_t'
            const lv_img_dsc_t photo2 = {
            ^~~~~~~~~~~~
            H:\Bas\Arduino\Sketches\T-RGB\factory\photo2.c:1960:3: error: field name not in record or union initializer
            .header.cf = LV_IMG_CF_TRUE_COLOR,
            ^
            And a lot more, that cannot be included in this message (too many characters)

            Compilation error: unknown type name 'LV_ATTRIBUTE_LARGE_CONST'

            teastain2 1 Reply Last reply Reply Quote 0
            • teastain2
              teastain2 @basvandepavert last edited by teastain2

              @basvandepavert Good morning.Sounds like excellent progress!
              Did you copy all files from:
              https://github.com/Xinyuan-LilyGO/T-RGB/tree/main/lib
              and copy them to your libraries folder, overwriting (replacing), not merging them?
              LilyGO is notorious for modifying (forking) established well know libraries to use on their products.

              B 1 Reply Last reply Reply Quote 0
              • B
                basvandepavert @teastain2 last edited by

                @teastain2
                Thank you Terry for this suggestion. I will try this in the coming days ....
                Infortunately I have a medical issue that requires hospitalization for some days...

                I sincerely hope I can come back to you in a couple of days
                Thanks Bas

                teastain2 1 Reply Last reply Reply Quote 0
                • teastain2
                  teastain2 @basvandepavert last edited by

                  @basvandepavert Take care!

                  B 1 Reply Last reply Reply Quote 0
                  • B
                    basvandepavert @teastain2 last edited by

                    @teastain2
                    Hi Terry, one last request before I'll be down for a couple days:

                    1. Yes, I copied all these files from https://github.com/Xinyuan-LilyGO/T-RGB/tree/main/lib
                    2. There is an example that I would very much use for my altimeter project:
                      https://github.com/Xinyuan-LilyGO/T-RGB/tree/main/lib/Arduino_GFX/examples/Clock
                      But, as expected, I cannot complie this sketch. Can you have a look at this example and try to get it running on the T-RGB? If you succeed, I then know that it is possible!

                    Thanks so far, Bas van de Pavert

                    teastain2 1 Reply Last reply Reply Quote 0
                    • teastain2
                      teastain2 @basvandepavert last edited by

                      @basvandepavert Sadly I do not have a T-RGB to use!
                      My advice is based on other LilyGO products using ESP32 S3.
                      Can you get ANY of the T-RGB examples running?
                      Regards, Terry

                      B 1 Reply Last reply Reply Quote 0
                      • B
                        basvandepavert @teastain2 last edited by

                        @teastain2
                        Hi Terry, I'm back in business again!
                        And... I have solved the problems, thanks to this link:
                        Device declaration

                        My basic altitudemeter is working now. I still have to 'clean' my sketch. Afterwards I will post the code here.

                        Thank you again for helping me.

                        teastain2 1 Reply Last reply Reply Quote 1
                        • teastain2
                          teastain2 @basvandepavert last edited by

                          @basvandepavert Thanks for getting back to me!
                          Let me know!
                          -Terry

                          1 Reply Last reply Reply Quote 0
                          • First post
                            Last post
                          Powered by NodeBB | Contributors