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 - elektor18

Pages: [1]
1
Discussion - EVE / Re: BT81x library and Arduino IDE
« on: December 06, 2020, 12:03:40 PM »
Hi,
Thanks for that. I have ESP32 as well, I used it and works now.
I'll have a play with it and try to load blob now.

Thanks again,
Very well done.

One last question. How can you transfer data to write flash now?
Can you transfer data from uart straight to the display flash? Would you accept this challenge?  ;)

2
Discussion - EVE / Re: BT81x library and Arduino IDE
« on: December 01, 2020, 12:27:50 PM »
Hi,

Yes, if you could expand your Arduino code, that would be brilliant.
I'm using ESP8266 module.

Here is blob file included in my project.
Code: [Select]
  uint8_t blob[]={
0x70, 0xDF, 0xFB, 0x92, 0x1E, 0x01, 0x00, 0x00, 0xE8, 0xA6, 0x30, 0x00,
0x18, 0x01, 0x10, 0x00, 0x00, 0x00, 0xF8, 0xDA, 0x4A, 0xA7, 0x2A, 0xFF,
0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x40, 0x80,
0x8D, 0x72, 0x62, 0x72, 0x5B, 0x36, 0x68, 0x40, 0x94, 0x32, 0xF1, 0x33,
};


It is just part, it is not allowed to put more characters on this forum I'm afraid.

3
Discussion - EVE / Re: BT81x library and Arduino IDE
« on: November 26, 2020, 11:24:26 AM »
Thanks for reply,

Before I use compression for my files, I would like to load blob to flash to see it works in fast flash mode. For now it is returning only basic mode... Can you advice why it doesn't work?

4
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?

5
Discussion - EVE / Re: BT815 custom font and image PIC MCU
« on: August 14, 2019, 11:13:07 AM »
It is not compressed and in L2 format. I tried get size in the same way as I did it with other images but for some reason it doesn't work. But if you saying it should be the same, I will analyse my code again (I did it 100 times anyway) and maybe I will spot mistake, if not, I will be back  ;)

6
Discussion - EVE / Re: BT815 custom font and image PIC MCU
« on: August 09, 2019, 08:59:59 AM »
Hi,

I can't see any good example to be honest.
So maybe once again, I want to load images and custom font to next available space in memory. How to calc needed space to avoid data corruption. PROPS command is good to get image data (x,y,w,h) or easy to check it size but what  about custom fonts?   

7
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)?


8
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?

9
Have you got maybe an example how to load more images/icons? I tried few ways but non worked. By example I mean steps how to do that, I'm not expecting ready code, that's not the point :)
Probably I'm missing something somewhere and I need guidance.

10
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?

11
Hello again,


Predominantly the image will need to be converted to be used, but it is possible to directly load some .png images.

Best Regards,
BRT Community
Could you give maybe some more details how to do that, please?

Rudolph, thank you for this information, now I need to "digest" it and try to play with it  ;D

12
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]