How to #36
Replies: 2 comments 1 reply
-
Well, it was the holiday season.
And annother one, I might need to dig out my ESP32 board from my hardware pile. :-)
Do you really mean display list or more broadly commands? The difference is using DMA to transfer the list or not. While it looks like I am building two dispay lists in my example, only the one in TFT_display()
My simple demo prints a value for "Bytes" and a value for "DL-size" as a debugging measure.
Whenever you are done with one group of objects that you started with
Ok, this should not happen.
There appears to be a bandwidth issue with the externally attached flash, I am afraid that this
Copy the images to RAM_G before you use them, at least there are rather small as ASTC and you might not even
Because you are using
This could help reduce the SPI traffic but it may not be worth the effort,
Unfortunately still now.
The scrollbar locks wherever and however you want it to lock. Try this in the EVE Screen Editor: Switch to touch in the toolbar at the top and change to the "Inspector" tab at the bottom. This means the actual command in my display-list would look like this: And no, I am not checking if all the numbers work out completely nicely. :-) Since CMD_TRACK would be keeping EVE busy for no reason when it would be active all the time and since one might want Like this: [code] case 40: Well, not the best example, just one example. the tracker value is used as 32 bit and divided as such instead of isolating |
Beta Was this translation helpful? Give feedback.
-
No, it works this way in non-burst mode as well, I am using it in my example.
Well, my MEM_DL_STATIC is defined like this: Your MEM_GAUGES or whatever would be better off like this: Well, or wherever else you like to place these at.
You could also check the REG_TOUCH_TAG_XY value for example if REG_TOUCH_TAG has a zero. |
Beta Was this translation helpful? Give feedback.
-
Hi!
Beginner here, trying to find some middle ground help between the BT81X programming guide and Rudolph library. The BRTcommunity forum being double locked (5day to pass moderator approval for each message), here I am
Setup: ESP32 using Arduino framework, Riverdi 7" RVT70HSBFWCA0
Rudolph demo works fine, now trying to do my own stuff by modifying his example. I'm trying to do a car dashboard.
I made all my gauges background and needles images. They are all converted using EAB to COMPRESSED_RGBA_ASTC_8x8_KHR, I made a flash image and pushed it to the screen. I'm able to display them from flash no problem until I try to display more than 3 (304x304px image)
How could you help me?
It's not really clear to me how all things work and the strategy to adopt:
-When should I use the "normal" display list or the burst one? How to know if my list is too long?
-When should I use the DL_END ?
-After some time the program crashes and only buttons are visible
-Why more than 3 images from flash make a repetitive pattern of the previous images? Should I flush something between calls of setbitmaps?
-Why do I have to do x16 on coordinates of bitmaps ? -> I'm already using VERTEX_FORMAT(0)
In a second phase:
-Should I make a static background for each page with gauges bitmaps ? Can I make it using Flash?
-Should I make a dynamic portion TFT_display where the needles move according to value, using maybe GRAM this time for faster compute time?
In a third phase:
-Swipe between pages (I use buttons for the moment), but the scrollbar doesn't "lock" into pages
images:
https://ibb.co/WpzBk0q : 6 bitmaps problem
https://ibb.co/McYKkmp : 3 small bitmaps
https://ibb.co/YD6pvsc : 1 large bitmaps
Thank you !
Beta Was this translation helpful? Give feedback.
All reactions