Search found 67 matches

by Rudolph
Tue May 25, 2021 10:59 am
Forum: EVE2 & EVE3 & EVE4 SPI TFT's
Topic: Loading Custom Backgrounds / Buttons / Images
Replies: 9
Views: 2898

Re: Loading Custom Backgrounds / Buttons / Images

What is the address of the third item?
As the third item also is an image, it's just the same, address in flash divided by 32.

0x800000 to indicate that the address in the external flash
100096/32

-> EVE_cmd_setbitmap_burst(0x800000 + 3128, EVE_COMPRESSED_RGBA_ASTC_8x8_KHR, 152, 152);
by Rudolph
Fri May 21, 2021 10:15 am
Forum: EVE2 & EVE3 & EVE4 SPI TFT's
Topic: Loading Custom Backgrounds / Buttons / Images
Replies: 9
Views: 2898

Re: Loading Custom Backgrounds / Buttons / Images

Getting closer. I did not know EAB was so powerful And it still is getting better. Bridgetek posted an inoffcial/beta version here: http://www.brtcommunity.com/index.php?topic=127.15 What is huge for me about that version is that they switched from ASTCenc 1.x to 2.x. Converting fonts takes seconds...
by Rudolph
Fri May 21, 2021 10:01 am
Forum: EVE2 & EVE3 & EVE4 SPI TFT's
Topic: EVE3 Flash Compatibility
Replies: 4
Views: 1568

Re: EVE3 Flash Compatibility

I started one here:
http://www.brtcommunity.com/index.php?t ... 318#msg318

I am limited to SOIC-8 chips though that are available thru distributors like Digi-Key.
by Rudolph
Fri May 21, 2021 9:55 am
Forum: EVE2 & EVE3 & EVE4 SPI TFT's
Topic: use touch without calibrate
Replies: 1
Views: 1117

Re: use touch without calibrate

Sure, calibrate, write down the values and put them in the source as constants. This often even works well enough across different displays of the same type. My basic example does that: https://github.com/RudolphRiedel/FT800-FT813/tree/5.x/example_projects https://github.com/RudolphRiedel/FT800-FT81...
by Rudolph
Thu May 20, 2021 12:32 pm
Forum: EVE2 & EVE3 & EVE4 SPI TFT's
Topic: double buffering or alpha blending on EVE
Replies: 3
Views: 1149

Re: double buffering or alpha blending on EVE

No, the 47kiB would be for 1 bit per pixel.
You can use two images of 375kiB each and switch between these two by changing the display-list.
by Rudolph
Thu May 20, 2021 10:04 am
Forum: EVE2 & EVE3 & EVE4 SPI TFT's
Topic: double buffering or alpha blending on EVE
Replies: 3
Views: 1149

Re: double buffering or alpha blending on EVE

At its core EVE always is double buffered, the display list. So you just would need to work with two graphics and refresh the display-list to swap over to the other graphic. However doing this with a bitmap has several issues, at 800x480 you can only use up to 8 bit per pixel in order to be able to ...
by Rudolph
Tue May 18, 2021 3:50 pm
Forum: EVE2 & EVE3 & EVE4 SPI TFT's
Topic: Loading Custom Backgrounds / Buttons / Images
Replies: 9
Views: 2898

Re: Loading Custom Backgrounds / Buttons / Images

Hello, first you can only display ASTC compressed images from the flash. And then the adress you need to use is to be divided by 32. So this: EVE_cmd_dl_burst(DL_COLOR_RGB | WHITE); EVE_cmd_dl_burst(DL_BEGIN | EVE_BITMAPS); EVE_cmd_setbitmap_burst(0x800000 | 128, EVE_COMPRESSED_RGBA_ASTC_8x8_KHR, 25...
by Rudolph
Thu Apr 29, 2021 10:37 am
Forum: EVE2 & EVE3 & EVE4 SPI TFT's
Topic: Best way to write text (if possible left and right justified)
Replies: 6
Views: 1824

Re: Best way to write text (if possible left and right justified)

The maximum number of displayable chars depends on how random the characters are and if it is an internal font on the resolution of the display as well. With internal fonts and coordinates below 510 you get the maximum amount of chars, somewhere near 2000. This: CMD_TEXT(172, 319, 28, 0, "Text&...
by Rudolph
Wed Apr 28, 2021 2:21 pm
Forum: EVE2 & EVE3 & EVE4 SPI TFT's
Topic: Best way to write text (if possible left and right justified)
Replies: 6
Views: 1824

Re: Best way to write text (if possible left and right justified)

Oh, you mean like in a book where the lines of text are spread out evenly over a fixed width?
I do not believe that EVE can do this directly.
by Rudolph
Sat Apr 24, 2021 3:37 am
Forum: EVE2 & EVE3 & EVE4 SPI TFT's
Topic: Best way to write text (if possible left and right justified)
Replies: 6
Views: 1824

Re: Best way to write text (if possible left and right justified)

>I would like to write text left and right justified Then use CMD_TEXT? Default is left justified and then there is OPT_RIGHTX. Also OPT_CENTERX and OPT_CENTERY. No HTML though, just plain text. The BT81x added OPT_FORMAT though which adds printf() style output. EVE_cmd_text_var_burst(320,70,27, EVE...
by Rudolph
Sun Mar 14, 2021 4:54 pm
Forum: EVE2 & EVE3 & EVE4 SPI TFT's
Topic: Get slider value (FT800-FT813 lib)
Replies: 4
Views: 1538

Re: Get slider value (FT800-FT813 lib)

REG_TRACKER is a 32 bits int but the value is only on 16 higher bits isn't it ? (and tag can be read on the lower 16 bits). You are right and I even check for the tag. Sometimes it is a good idea to review code like this, even when it is working alright. :-) Looks like I need to check the math on t...
by Rudolph
Fri Mar 12, 2021 2:30 pm
Forum: EVE2 & EVE3 & EVE4 SPI TFT's
Topic: Get slider value (FT800-FT813 lib)
Replies: 4
Views: 1538

Re: Get slider value (FT800-FT813 lib)

To obtain the values of sliders you use CMD_TRACK when you detect a touch event. And while you hold down and move your finger the changed value is received by reading REG_Tracker. There are a few tricky bits involved. One thing is that REG_TRACKER delivers a 32 bit value. You need to scale that to y...
by Rudolph
Mon Mar 01, 2021 12:33 pm
Forum: EVE2 & EVE3 & EVE4 SPI TFT's
Topic: ESP32 & Eve3 Display Help
Replies: 12
Views: 3588

Re: ESP32 & Eve3 Display Help

I just did a round of converting funtype.ttf to different formats with Font Size = 255. And no matter what format right now, using these glyphs organized as font takes a lot of space. So, this is only "0123456789" now and the individual images are 180x192. Funtype_255_ASTC.glyph 864KiB Fun...
by Rudolph
Sat Feb 27, 2021 1:01 pm
Forum: EVE2 & EVE3 & EVE4 SPI TFT's
Topic: ESP32 & Eve3 Display Help
Replies: 12
Views: 3588

Re: ESP32 & Eve3 Display Help

After I wrote that last post to you, I downloaded the EVE Asset Builder and tried to create a font myself. I was able to use the font generator to create a glyph and xfont with a limited character set (0123456789), turn that into a bin, and then convert that into hex with the BIN2C converter. Howev...
by Rudolph
Sat Feb 27, 2021 4:00 am
Forum: EVE2 & EVE3 & EVE4 SPI TFT's
Topic: ESP32 & Eve3 Display Help
Replies: 12
Views: 3588

Re: ESP32 & Eve3 Display Help

I am guessing that there is no way to scale a font, I would just have to upload the larger font and take the memory hit. That is correct, the fonts use pre-calculated images. In fact, the display list is only using images, that whole concept of fonts is translated by the command co-processor. When ...