TWR-K70 + eGUI - bitmap from SD card

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

TWR-K70 + eGUI - bitmap from SD card

1,051件の閲覧回数
prezesjasko
Contributor I

Hello!

I working on TWR-K70 and i would like to load bitmaps from sd card.

1. I noticed that it works slower than images loaded directly from precompiled BMP structures. So, I created Ram Drive and copied all images to the RAM - it's the same. MFS issue?

The only solution is at the beginning load all images to the structures and than display them.

Can anyone know better solution?

Another question is:

2. Do anyone know how to generate D4L files? eGUI Converter 2.1 can generate .c .h files only?

3. Where i can found explanation for image content I mean this:

const Word image[] = {

/* Bitmap dimension (W x H) */

0x00C8, 0x00C8, <- OK It's clear ;P

/* Color mode */

0x8000,   <- WHAT DOES IT MEAN? How set for ex. 16M colors mode?

Thanks for any answer and regards.

ラベル(1)
タグ(3)
0 件の賞賛
返信
1 返信

836件の閲覧回数
LuisCasado
NXP Employee
NXP Employee

Hello,

The solution is to use double buffer approach. You ‘draw' in a hidden buffer and then swap the frame buffers when is done. This is supported in eGUI 3.0 for K70 that you can download in this forums.

Luis

0 件の賞賛
返信