FTDI Community

Please login or register.

Login with username, password and session length.
Advanced Search  

News:

Welcome to the FTDI Community!

Please read our Welcome Note

Technical Support enquires
please contact the team
@ FTDI Support


New Bridgetek Community is now open

Please note that we have created the Bridgetek Community to discuss all Bridgetek products e.g. EVE, MCU.

Please follow this link and create a new user account to get started.

Bridgetek Community

Show Posts

You can view here all posts made by this member. Note that you can only see posts made in areas to which you currently have access.

Topics - Farid

Pages: [1]
1
Discussion - Software / FT813 how to update a portion of a display
« on: April 18, 2018, 06:31:39 PM »
Can anyone tell me how to update only a portion of an LCD display. In my case, I need to display a numeric value on the main display once a user touches a certain button.

Now I am just transmitting the entire display content every 200 ms(which I dont think is efficient)

Thank you!

2
Discussion - Software / Loading an image with FT813 issues
« on: April 18, 2018, 06:21:54 PM »
I am trying to load a JPEG image using the function below. if I call this function in my code, my whole program stops working, can anyone tells me what I am doing wrong here?


cmd_loadimage(&logo[0],0L,404,0);

void cmd_loadimage(uint8_t img[], uint32_t ptr, uint32_t length, uint32_t opt)
{   
   uint32_t i;

   ft800memWrite32(RAM_CMD + cmdOffset, CMD_LOADIMAGE);
   cmdOffset = incCMDOffset(cmdOffset, 4);
   ft800memWrite32(RAM_CMD + cmdOffset, ptr);
   cmdOffset = incCMDOffset(cmdOffset, 4);
   ft800memWrite32(RAM_CMD + cmdOffset, opt);
   cmdOffset = incCMDOffset(cmdOffset, 4);
   
   for (i = 0; i < length; i++)
   {
     ft800memWrite8(RAM_CMD + cmdOffset, img);   
      cmdOffset++;
   }

}

Pages: [1]