Navigation

    LILYGO

    • Register
    • Login
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    1. Home
    2. basvandepavert
    B
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 8
    • Best 2
    • Groups 0

    basvandepavert

    @basvandepavert

    2
    Reputation
    1
    Profile views
    8
    Posts
    0
    Followers
    0
    Following
    Joined Last Online
    Location Netherlands

    basvandepavert Unfollow Follow

    Best posts made by basvandepavert

    • RE: T-rgb (half circle)

      @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.

      posted in Product information
      B
      basvandepavert
    • RE: T-rgb (half circle)

      @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!!

      posted in Product information
      B
      basvandepavert

    Latest posts made by basvandepavert

    • RE: T-rgb (half circle)

      @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.

      posted in Product information
      B
      basvandepavert
    • RE: T-rgb (half circle)

      @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

      posted in Product information
      B
      basvandepavert
    • RE: T-rgb (half circle)

      @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

      posted in Product information
      B
      basvandepavert
    • RE: T-rgb (half circle)

      @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'

      posted in Product information
      B
      basvandepavert
    • RE: T-rgb (half circle)

      @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!!

      posted in Product information
      B
      basvandepavert
    • RE: T-rgb (half circle)

      @teastain2
      Hi Terry, after some experiments with boards I now get this error:

      Sketch uses 735085 bytes (23%) of program storage space. Maximum is 3145728 bytes.
      Global variables use 20632 bytes (6%) of dynamic memory, leaving 307048 bytes for local variables. Maximum is 327680 bytes.
      esptool.py v4.5.1
      Serial port COM16

      A fatal error occurred: Could not open COM16, the port doesn't exist
      Failed uploading: uploading error: exit status 2

      However, I'm sure the board is connected to COM16. Obviously something wrong in my installation, but what....? I'm lost. I re-installed most of the environment, but still this error. It also fails on other ports (changed port in windows device manager).
      Looks like esptool.py v4.5.1 has a problem somewhere, but I do not know what is wrong or how to fix this.

      Your help is highly appreciated !!!

      posted in Product information
      B
      basvandepavert
    • RE: T-rgb (half circle)

      @teastain2 Yes I've downloaded the examples from there but none will compile in the Arduino IDE. I am not certain which board I should select though. At this moment I'm just interested in getting the basics running, not more than a simple "Hello world" example. From there I can develop the rest.
      I'm building an altitude-indicator for my gliderplane, using the BMP280 sensor. I have it running on an Arduino Nano, but I want to display clock-like hands on a round display.
      Any help is welcome, since I cannot get any example to compile and upload.
      (I know the Nano is an AVR board and the T-RGB is ESP32, so modifications will be necessary)

      posted in Product information
      B
      basvandepavert
    • T-rgb (half circle)

      Can anyone help please. I cannot get any of the examples to compile in the Arduino IDE. A myriad of errors are reported. Icopied all of the files to the environment. If you please can send me a working .ino with description of the used libraries, I would be very greatful

      posted in Product information
      B
      basvandepavert