Jump to content

tphitonm

Members
  • Posts

    6
  • Joined

  • Last visited

  1. Wow, I get it now. I just noticed the top module "Application Code". It all makes sense now. Thanks a bunch!
  2. cpu20, thanks a bunch for the descriptions! That's very helpful! Going back to your graph, one thing that I have a question about is whether my C code should reference the ugfx api, or if I should be writing through the board file. For instance, if I want to write to the screen, does my C code call out void write_data, which is in the board file, or does it call out void gdispDrawPixel, which is in the GDISP library? Perhaps in the ugfx repository, there is a specific file that you can reference to? Again, thanks for your help. You've been not only helpful but also patient.
  3. Thanks for the help. I found the display driver model page, and I notice that it lists the three different models to implement. Even then, it lists functions at the end such as init_board, post_init_board, write_data, etc. Is there any guidance on how to write these functions, what they require, etc? (Besides the example functions, because they're not very clear to me.)
  4. Thanks for the explanation, cpu20. If I'm understanding this correctly, what you're saying is that: After the HAL layer, I should create a MCU-specific file, such as tm4c123g_ugfxConfig.h that assigns all the pins for functionalities to be used by GDISP and GINPUT Have an input file, such as ft5x06.h, that receives the defined names in the above file (tm4C123g_ugfxConfig.h) Have a display file, such as ota7001a.h, that receives the defined names in the above file (tm4C123g_ugfxConfig.h) If this is correct, what is the best template to create a driver for an OTA7001A?
  5. This is the display that I am using for my project. http://www.newhavendisplay.com/specs/NHD-5.0-800480TF-ATXL-CTP.pdf The touch driver is a FT5306, which is great because theres ../ugfx_2.8/drivers/ginput/touch/FT5x06 The TFT driver is an OTA7001A, and unfortunately in the ../ugfx_2.8/drivers/gdisp directory, there is no mention of an OTA7001A. Is there any advice on how I can port one of the existing working drivers to work with this driver? Perhaps this driver is similar to one of the already existing drivers? On a secondary note, I am using the launchpad right now, and I can assign any pins to work with the display. Which file am I suppose to configure to assign any specific pins to map to the display?
  6. There's no video tutorial anywhere in getting started, and the demo itself it sort of not helpful enough for me. I'm not very well versed in writing gui applications, but in my research I've seen how some other applications do it. It usually has this application where you can drag and drop into a box, and then the IDE generates code for it. (At least that's my understanding.) Is there any way someone can lend a hand-- really holding my hand-- in how to learn to write with uGFX? (Perhaps I'll write a youtube tutorial at some point if I become really good at this.) I'm trying to use a TM4C123G (specifically a TI Launchpad at the moment-- TBD for the future) in Code Composer Studio with a capacitive touch 5.0" display. I'm just using a regular GCC compiler within CCS. Someone mentioned somewhere about integrating QT with uGFX? Is that something that's possible? Thanks for the help.
×
×
  • Create New...