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.

Topics - elektor18

Pages: [1]
1
Discussion - EVE / BT81x library and Arduino IDE
« on: November 18, 2020, 10:50:42 AM »
Hi,

I have display from Riverdi (5inch) works with BT815. Everything is ok with it but it is time to use flash storage to display ASTC images. I was trying to use this memory but don't know how to load blob... I created blob.h and attach it to project, then load it to the G_RAM and then to flash:

Code: [Select]
uint8_t *dfg = blob;  // uint8_t blob[]={0x70... rest of blob data in blob.h file
Gpu_Hal_WrCmdBuf(phost, dfg, sizeof(dfg));

Gpu_CoCmd_FlashHelper_Update(phost, 0, (uint32_t)dfg, sizeof(dfg));

Are those steps ok?

2
Discussion - EVE / BT815 custom font and image PIC MCU
« on: July 31, 2019, 04:00:52 PM »
Hi All,

I struggling to load image and custom font from MCU to the display.

Font:
Code: [Select]
StartAddress2 = End_Address1;
API_LIB_WriteDataRAMG(DigitsFont, sizeof(DigitsFont), StartAddress2); 

    API_LIB_BeginCoProList();
    API_CMD_DLSTART();

    API_CLEAR_COLOR_RGB(0, 0, 0);
    API_CLEAR(1,1,1);
    API_BITMAP_HANDLE(15);
    API_BITMAP_SOURCE((StartAddress12+148)-(32*3*15));
    API_BITMAP_LAYOUT(L2,3,15);
    API_BITMAP_SIZE(NEAREST, BORDER, BORDER, 10,15); 
       
    API_CMD_SETFONT(15, StartAddress12);
    API_COLOR_RGB(255,255,255);
    API_CMD_TEXT(50,50,15,0,"HELLO");
    API_CMD_TEXT(50, 100, 15,0, "12:00");
    API_CMD_NUMBER(50,120,15,0,123);
         
    API_DISPLAY();
    API_CMD_SWAP();

    API_LIB_EndCoProList();
    API_LIB_AwaitCoProEmpty();

But it look like this part is overwriting my other images (I think so)?


3
Discussion - EVE / BT815 Screen saver
« on: July 22, 2019, 09:46:14 AM »
Hi all,

I'm trying to make a screen saver as dynamic text. I would like to have that text changing from time to time and moving like image does. The questions are:

* can I decide what area(x,y range limits) image/text is moving?
* can I change speed of moving object or it is fixed value?

4
Hi All,

I'm trying to load two converted png file from mcu flash but something is not right. How to know where to load next one image (display RAMG address) avoiding overwriting previous image?

Code: [Select]
     API_LIB_BeginCoProList();                                                   // Begin new co-processor list
    API_CMD_LOADIMAGE(StartAddress,0);                                          // Load image command. Extract data to RAM_G + 0, options = 0
    API_LIB_EndCoProList();                                                     // Finish the co-processor list
    API_LIB_WriteDataToCMD(EVE_PNG, sizeof(EVE_PNG));                           // Send data immediately after the command (since we don't select MEDIAFIFO as source in Options))
    API_LIB_AwaitCoProEmpty();                                                  // Await completion of the Load Image. Image will now be in RAM_G
 
        // ###### Check parameters of decompressed image ########
    API_LIB_BeginCoProList();                                                   // Begin co-pro list
    API_CMD_GETPROPS(0, 0, 0);                                                  // GetProps command with three dummy 32-bit values
    API_LIB_EndCoProList();                                                     // Finish the co-processor list
    API_LIB_AwaitCoProEmpty();                                                  // Await the command completion


This code is for one image. Shall I duplicate that for another one or there is different way of doing it? And should be StartAddress of second img?

5
Hi all,

I'm planing to store images (bmp/jpg) on sd card and I'm wondering if that is going to be possible to display on screen using BT816 chip? or image need to be converted first and loaded to display?
Next question, dial widget. Is it possible to create custom dial (or slider)? If yes, is someone did it already maybe, maybe some examples? 

Thanks in advance.

Pages: [1]