Replies: 9 comments 10 replies
-
Just tested latest code did not have this problem, please get update Arduino_GFX |
Beta Was this translation helpful? Give feedback.
-
Thanks for the quick response! So I removed the existing Arduino_GFX library from my machine, and downloaded the latest. (1.3.6) I added the updated data bus and display classes to ImgViewerAnimatedGIF.ino. Arduino_DataBus bus = new Arduino_ESP32QSPI( Arduino_GFX gfx = new Arduino_RM67162(bus, 17 / RST /, 0 / rotation */); I commented out LittleFS and uncommented SPIFFS. I then recompiled, using the supplied GIF file of the rotating Earth. I'm afraid that the same thing happens - the background and Earth animation is green. This is using Arduino 1.8.19 on a Mac. I tried Arduino 2.10 and the same thing happened. I don't normally use 2.10 because they removed the ability to upload files to SPIFFs. Am I doing something wrong? Thank you. |
Beta Was this translation helpful? Give feedback.
-
Hmmm. Would you have any suggestions where I can look? As noted, I just downloaded the current version of your library straight from Github. |
Beta Was this translation helpful? Give feedback.
-
In case you are not, please also use latest example files. |
Beta Was this translation helpful? Give feedback.
-
Yes, I edited the example file directly. |
Beta Was this translation helpful? Give feedback.
-
Okay. So it's weird. I deleted all traces of Arduino_GFX from my machine. I then downloaded a full install. I edited ImgViewerAnimatedGIF.ino, adding the new data bus and display classes. In the "Wio Terminal" section I commented out LittleFS etc, and uncommented SPIFFs. I recompiled the code, re-uploaded the spinning Earth graphic, reset the device... ...and it displayed green again. I wonder what I'm missing that this isn't working! |
Beta Was this translation helpful? Give feedback.
-
Note: I'm pasting the DataBus and GFX definitions directly into the code. (I couldn't see the new Amoled definitions in the header files) That shouldn't matter, should it?
|
Beta Was this translation helpful? Give feedback.
-
Wow! That was it! The backlight reference is all it was. Thank you, good sir. :) |
Beta Was this translation helpful? Give feedback.
-
Of course. I had no idea that that line would make everything green, though! |
Beta Was this translation helpful? Give feedback.
-
Hi! Thanks for implementing support for the T-Display-S3 AMOLED board - much appreciated!
I've been able to upload an animated GIF file using SPIFFS and have compiled the new Arduino_GFX code. Unfortunately, the different GIFs I've tried don't display correctly. The colour mapping appears to be incorrect. It's not simply inverted. I've tried using the supplied Earth rotation animation as well.
Is this something that could be looked at? Or is there a setting I need to change? Thank you!
Beta Was this translation helpful? Give feedback.
All reactions