T-rgb (half circle)
-
@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); }
-
@teastain2
Hi Terry, this tick-tock works! I see the output in the Serial monitor
So, connection is OKI 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!!
-
@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'
-
@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. -
@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 -
@basvandepavert Take care!
-
@teastain2
Hi Terry, one last request before I'll be down for a couple days:- Yes, I copied all these files from https://github.com/Xinyuan-LilyGO/T-RGB/tree/main/lib
- 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
-
@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 -
@teastain2
Hi Terry, I'm back in business again!
And... I have solved the problems, thanks to this link:
Device declarationMy 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.
-
@basvandepavert Thanks for getting back to me!
Let me know!
-Terry