Search Results

Search results 1-6 of 6.

This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

  • FIL pFile; int APP_GetData(void * p, const U8 * * ppData, unsigned NumBytesReq, U32 Off){ //You must create an pointer on structure FIL *phFile; //and then initialize the pointer value is passed to the function APP_GetData phFile=(FIL*) p; //And then use this pointer to your function f_lseek(phFile,Off); fresult=f_read(phFile,_acBuffer,NumBytesReq,&NumBytesRead); *ppData = _acBuffer; return NumBytesRead; } fresult=f_open (&pFile, Path, FA_READ); // open file GUI_BMP_DrawEx(APP_GetData, &pFile,xP…

  • FlexColor M565 and SSD1963

    pvo125 - - emWin related

    Post

    I had a similar Problem. I do not set up correctly initialize ssd1963. I did not have a red color. I thought that the screen is defective. My screen ("glass") 24 bit and I set the controller ssd1963 to another mode (18-bit). Check parameter LcdWriteReg (set_lcd_mode); A [5]:TFT panel data width (POR = 0) 0 18-bit 1 24-bit

  • UNICODE in TREEVIEW_InsertItem()

    pvo125 - - emWin related

    Post

    Hello! Can i use unicode characters text in the node or leaf of TREEVIEW widget? I want to use unicode to display file name list in TREEVIEW widget. But function C Source Code (1 line) function uses a pointer to char. The file name may consist of cirilic characters.

  • STemwin GUI_Init Hard Fault

    pvo125 - - emWin related

    Post

    Ok! I am sorry! I understand that only english posts.

  • STemwin GUI_Init Hard Fault

    pvo125 - - emWin related

    Post

    My functions in file LCDConf.c static __INLINE void LcdWriteReg(U16 Data) { // ... TBD by user LCD_REG_ADDRESS=Data; } static __INLINE void LcdWriteData(U16 Data) { // ... TBD by user LCD_DATA_ADDRESS=Data; } static __INLINE void LcdWriteDataMultiple(U16 * pData, int NumItems) { while (NumItems--) { // ... TBD by user LCD_DATA_ADDRESS = *pData++; } } static __INLINE void LcdReadDataMultiple(U16 * pData, int NumItems) { while (NumItems--) { // ... TBD by user *pData++ = LCD_DATA_ADDRESS; } } void…

  • STemwin GUI_Init Hard Fault

    pvo125 - - emWin related

    Post

    Lehacheb, i think you should use functions PortAPI.pfWrite16_A0 = LcdWriteReg; PortAPI.pfWrite16_A1 = LcdWriteData; PortAPI.pfWriteM16_A1 = LcdWriteDataMultiple; PortAPI.pfReadM16_A1 = LcdReadDataMultiple; I understand correctly you have 16 bits data bus?