BRT Community

Please login or register.

Login with username, password and session length
Advanced search  

News:

Welcome to the Bridgetek Community!

Please read our Welcome Note

Technical Support enquires
please contact the team
@ Bridgetek Support

Please refer to our website for detailed information on all our products - Bridgetek - Bridging Technology

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - DAVOSS

Pages: [1]
1
Discussion - EVE / Re: displaying compressed png
« on: March 04, 2021, 02:11:11 PM »
Thank you it helped !

2
Discussion - EVE / Re: displaying compressed png
« on: February 25, 2021, 03:01:18 PM »
Thanks for your help everyone. I need png for trasnparent background but i managed to load small size numbers and just rescale it. I've got diferent problem now. I think i recalbiratet touch screen somehow, i was messing with EEPROM. GD.input.y is giving me proper reading but GD.input.x is giving my large number like 3000, 16000. Can i calibrate it somehow with GD23Z library ?

3
Discussion - EVE / displaying compressed png
« on: February 17, 2021, 04:08:33 PM »
Hello everyone.
I've got a project on FT811 5' display controlled with arduino nano and micro SD card. I'm using GD23Z library.
Main purpose of this project is to display numbers from 0 to 99 (each digit must be height almost as the screen is). I would like to avoid loading each digit from micro sd seperatly when i need it mainly because change needs to be quick without any visible delay.
I see 3 ways.
1. using seperate SPI pins for micro sd reader and screen to speed up loading process
2. loading (to display's RAM) small numbers at once, lets say 100x50 resolutions and zooming it with cmd_scale function.
3. try to load all numbers (460x300 resolution) to display's RAM compressed with EVE compressing tool ( i was thinking about PALETTE8, index.bin) and then just decompress it when i need it.

I like 3rd option the most. I'm trying to make it work for 2 days already. I've compressed png file which contains numer 3 with EVE Asset builder v2.1.0 choosing output format as PALETTE8 and checked compressed box. In result i received file 3'_index.bin which i loaded to micro sd card. Now i'm trying to make it work with the following sequence.

 GD.begin();
 GD.cmd_inflate(0);
 GD.load("3'_index.bin");

and then in loop


GD.Begin(BITMAPS);
GD.Vertex2ii(190, 180,0);
 GD.swap();

I'm pretty sure im missing some commands

In result i receive something like this
https://imgur.com/IZPozmv

and i should receive sth like this
https://imgur.com/DRM7MdO



Pages: [1]