Jump to content

wctltya

Members
  • Posts

    87
  • Joined

  • Last visited

Everything posted by wctltya

  1. Hi, Seems the issue is not fixed yet, because I have the same problem. I'm starting the mcufont.exe under windows command prompt in the same folder where the all dll's are, i.e. D:\MyPaticularPathToTheUGFLibrary\tools\mcufontencoder\binaries\windows, but got the same error. The OS is Windows 7 Pro 64. I'm trying to use the local font converter, because I need to specify multiple ranges as "king2".
  2. Unfortunately no. The above answers all my questions about. Thank you very much Joel and inmarket.
  3. Hi, My touch IC provides coordinates Valid Flag, a quote from datasheet: "Valid bit field tells that this point ID is valid and the XY information represents a real touch point on touch sensor". It's not clear what is the value then. So, in case of NOT valid coordinates the questions are: 1. What shall return the "bool_t read_xyz(GMouse* m, GMouseReading* prd)" for coordinates? Is there a coordinate value, which are assumed as not valid and will not be taken into consideration? 2. What shall return as a function? Is it OK to return "FALSE" without putting new values for prd->x and prd->y. 3. What about prd->buttons and prd->z? Shortly the question is - How to tell the library that there are no new coordinates? BTW, such a situation arises, even w/o "valid" flag, in case of I2C session crashes for some reasons.
  4. Hi guys, Since I didn't guessed to put the library out of the KDS project folder as 'ForTest' did, I've done it in a different way. So here are "my two cents": Shortly - put the library in the project folder and exclude it from the build except "gfx_mk.c". Detailed, what I've done: - Copy library to my project folder in uGFX folder - Delete all *.mk files. That's probably not necessary, but I've done it. - Create my own display driver and my own touch screen driver, keeping the existing folder structure (for example uGFX/driver/gdisp/MyOwnDriver/). Then add these paths to the project properties. In the "_lld_MyOwnDriver.c" need to include proper "module_driver.h", for example in the "gdisp_lld_MyOwnDriver.c" include "../../../src/gdisp/gdisp_driver.h" - Add the relevant files generated by uGFX Studio in uGFX folder (the library root folder - it must be in the project path as well) - Exclude from build all sub-folders and files in uGFX/src, except "gfx_mk.c"! How? Right click > Resource Configuration > Exclude from Build Enjoy This approach shall work for any Eclipse based IDE, I guess.
  5. Hi, In which file I have to define GDISP_DRIVER_VMT? Where is explained what is its purpose? Didn't found in the wiki. I see that it is used as condition in gdisp_driver.h, and the only file included there is gdriver.h, then should I define it there?
×
×
  • Create New...