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

Main Menu
Menu

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.

Show posts Menu

Topics - korstiaan

#1
Discussion - EVE / BT817Q CMD_SPINNER fails
June 16, 2021, 06:42:10 AM
Hi,

As soon as I want to use a spinner my screen flashes once and then goes blank.
Same program works fine on EVE2 and EVE3 but not on EVE4?
Text and lines works fine, it is only the spinner that causes the problem.

What can be the reason?

Korstiaan
#2
Hi,

Based on BRT_AN_025 Beta + BT81X

I want to upload a RAW image directly in the RAM-G and then display it.
As a test I'm using a simple 100x100px all black (or white) pixels.
That is a RAW array of 10000x 0x00 in L8.

So I first upload the 10000 bytes like this:

uint8_t *array;

    array = malloc(10000);
    for (uint16_t i = 0; i < 10000; i++) {
        array[i] = 0x00; // 0x00 = black, 0xff = white
    }

EVE_LIB_WriteDataToRAMG(array, 10000, 0);
free(array);


and then I display the bitmap like this:

    EVE_LIB_BeginCoProList();
    EVE_CMD_DLSTART();
    EVE_CLEAR_COLOR_RGB(0, 0, 0);
    EVE_CLEAR(1, 1, 1);

    EVE_COLOR_RGB(255, 255, 255);
    EVE_BITMAP_SOURCE(0);
    EVE_BITMAP_LAYOUT(EVE_FORMAT_L8, 100 * 100, 100);
    EVE_BITMAP_SIZE(EVE_FILTER_NEAREST, EVE_WRAP_BORDER, EVE_WRAP_BORDER, 100, 100);
    EVE_BEGIN(EVE_BEGIN_BITMAPS);
    EVE_VERTEX2F(650 * 16, 205 * 16);
    EVE_END();

    EVE_DISPLAY();
    EVE_CMD_SWAP();
    EVE_LIB_EndCoProList();
    EVE_LIB_AwaitCoProEmpty();



But I get a scrambled bitmap and not a solid black (white) one.

What am I doing wrong?

#3
Discussion - EVE / screensaver bitmap out of screen
July 02, 2020, 10:31:26 AM
Hi,

Is it normal that if I use the screensaver functionality, the bitmap goes partly off screen on the right hand side?
It bounces off the left, top and bottom but goes partly outside on the right hand side.

This is my test list:

EVE_LIB_BeginCoProList();
EVE_CMD_DLSTART();
EVE_CMD_SCREENSAVER();
EVE_CLEAR_COLOR_RGB(0, 0, 0);
EVE_CLEAR(1,1,1);
EVE_COLOR_RGB(255, 255, 255);
EVE_BITMAP_SOURCE(3056);
EVE_BITMAP_LAYOUT(EVE_FORMAT_RGB565, eve_img_bridgetek_logo_width * 2, eve_img_bridgetek_logo_height);
EVE_BEGIN(EVE_BEGIN_BITMAPS);
EVE_MACRO(0);
EVE_DISPLAY();
EVE_CMD_SWAP();
EVE_LIB_EndCoProList();
EVE_LIB_AwaitCoProEmpty();


Is it meant to be like this or is there a way to keep the image inside the visible screen area?

Korstiaan