Other Parts Discussed in Thread: MSPWARE
Tool/software: Code Composer Studio
Hi,
I'm having a terrible time trying to use your graphics library to draw circles, buttons etc. On a 480x272 pixel display that has a SSD1963 controller. I am using a 16 bit port i/o interface and that works fine. I can draw squares and text on the screen using simple drivers that I wrote to do that.
I integrated the low level routines such as WriteCommand and WriteData into one of the examples in MSPware GRlib programs so I can use all the prementioned functions. I was able to modify the LCD TemplateDriver.c & TemplateDriver.h in the example that says 'No Driver' and get it to complile using CCS7.
I'm now trying to get one of the simple functions like
void Graphics_drawLineH(const Graphics_Context *context, int32_t x1, int32_t x2, int32_t y)
void Graphics_drawButton(const Graphics_Context *context,const Graphics_Button *button)
void Graphics_drawCircle(const Graphics_Context *context, int32_t x, int32_t y,int32_t radius)
to work? My question is what do I put in that first entry (Graphics_Context *context) of the call? Are there files of contexts that I can modify? I cannot find them. I read both the Users manual and the API in still feel lost. Please help.
I have been playing with this software for over a week and would really appreciate your support.
Thanks,