Quick Reference Guide September 2011 Graphics Quick Reference Guide www.microchip.
Display Controller Solutions − Graphical Displays Microchip offers varying levels of solutions to drive everything from simple monochrome LCDs to full color WVGA user interfaces.
Graphical Display Configurations PIC24F with Integrated Graphics Controller: Low Cost, Easy to Use PIC32 Low Cost Controllerless Graphics: 32-bit Performance, Flexibility, Integration Core 128 KB RAM Frame Buffer DMA The PIC24F DA family makes it easy and cost-effective to add advanced graphics to your application by eliminating the need for external frame buffers or display controllers.
Graphics Library, Designer and App Notes FREE Microchip Graphics Display Designer FREE Microchip Graphics Library The Microchip Graphics Display Designer (GDD) is a visual design tool that provides customers with a quick and easy way of creating Graphical User Interface (GUI) screens for graphical interface applications on Microchip MCUs.
Tools for Designing Graphical Displays Microchip Graphics Solutions This table shows the out-of-the-box support for the following development boards and kits. With proper software and hardware configuration compatibility of certain hardware combinations and other PIC devices can be achieved.
Tools for Designing Graphical Displays Development Tool Part Number Tool Image Development Tool PIC24FJ256DA210 Development Board DM240312 PIC32 Starter Kit Explorer 16 Development Board DM240001 PIC32 USB Starter Kit II Multi Media Expansion Board DM320005 Graphics LCD Controller PICtail™ Plus SSD1926 Board AC164127-5 Graphics Controller PICtail™ Plus Epson S1D13517 Board AC164127-7 Low-Cost Controllerless (LCC) Graphics PICtail™ Plus Daughter Board Graphics Display Truly 3.
Microchip Graphics Library Quick Reference Guide Microchip Graphics Library Quick Reference Guide August 22, 2011 – based on Graphics Library Version 3.01 This card contains brief API description. For complete API description, see Graphics Library Help File. Predefined Types GFX_COLOR Data type for color data. Dependent on the COLOR_DEPTH setting. COLOR_DEPTH Data Type 8 typedef BYTE GFX_COLOR; 16 typedef WORD GFX_COLOR; 24 typedef DWORD GFX_COLOR; XCHAR Data type for characters.
Microchip Graphics Library Quick Reference Guide Primitive Layer Primitive Layer Description Primitive Layer Description void InitGraph() Initialize the display controller, sets the screen to BLACK, sets current color to WHITE, sets the cursor at (0,0), sets the line type to SOLID_LINE and sets the active page and visual page to 0. WORD Circle( SHORT x, SHORT y, SHORT r) Renders a circle using the current set line type, line size and color located at center on x,y with a radius r.
Microchip Graphics Library Quick Reference Guide GOL Layer GOL Layer Description GOL Layer Description void GOLInit() This function initializes the object layer, primitive layer and display driver layer. Creates a default style scheme with default settings. Sets up the parameters to draw a panel. Use this API to set up GOLPanelDrawTsk() and GOLTwoTonePanelDrawTask(). WORD GOLDraw() Renders all widgets that needs to be rendered on the active list.
Microchip Graphics Library Quick Reference Guide Widget API AnalogClock Button Chart Chart2 Chart3 Graphics Config: USE_ANALOGCLOCK Graphics Config: USE_BUTTON USE_BUTTON_MULTI_LINE Graphics Config: USE_CHART void ChHideSeries( CHART *pObj, WORD seriesNum) XCHAR *ChGetSampleLabel( CHART *pObj) ANALOGCLOCK * AcCreate( WORD ID, SHORT left, SHORT top, SHORT right, SHORT bottom, SHORT hour, SHORT minute, SHORT radius, BOOL sechand, WORD state, void * pBitmap, GOL_SCHEME * pScheme) BUTTON * BtnCreate(
Microchip Graphics Library Quick Reference Guide Widget API (Continued) Chart4 Round Dial Check Box Digital Meter Edit Box GFX_COLOR *ChGetColorTable( CHART* pObj) Graphics Config: USE_ROUNDDIAL Graphics Config: USE_CHECKBOX Graphics Config: USE_DIGITALMETER Graphics Config: USE_EDITBOX void *ChGetAxisLabelFont(CHART *pObj) ROUNDDIAL * RdiaCreate( WORD ID, SHORT x, SHORT y, SHORT radius, WORD state, SHORT res, SHORT value, SHORT max, GOL_SCHEME * pScheme) CHECKBOX * CbCreate( WORD ID, SHORT left
Microchip Graphics Library Quick Reference Guide Widget API (Continued) Grid Graphics Config: USE_GRID GRID * GridCreate( WORD ID, SHORT left, SHORT top, SHORT right, SHORT bottom, WORD state, SHORT numColumns, SHORT numRows, SHORT cellWidth, SHORT cellHeight, GOL_SCHEME * pScheme) WORD GridDraw(void * pObj) void GridClearCellState( GRID * pObj, SHORT column, SHORT row, WORD state) WORD GridGetFocusX(GRID *pObj) Grid2 Group Box List Box Graphics Config: USE_GROUPBOX Graphics Config: USE_LISTBOX WOR
Microchip Graphics Library Quick Reference Guide Widget API (Continued) Meter Picture Control Progress Bar Radio Button Graphics Config: USE_METER Graphics Config: USE_PICTURE Graphics Config: USE_PROGRESSBAR Graphics Config: USE_RADIOBUTTON METER * MtrCreate( WORD ID, SHORT left, SHORT top, SHORT right, SHORT bottom, WORD state, SHORT value, SHORT minValue, SHORT maxValue, void * pTitleFont, void * pValueFont, XCHAR * pText, GOL_SCHEME * pScheme) PICTURE * PictCreate( WORD ID, SHORT left, SHORT to
Microchip Graphics Library Quick Reference Guide Widget API (Continued) Slider/Scroll Bar Graphics Config: USE_SLIDER SLIDER * SldCreate( WORD ID, SHORT left, SHORT top, SHORT right, SHORT bottom, WORD state, WORD range, WORD page, WORD pos, GOL_SCHEME * pScheme) Static Text Graphics Config: USE_STATICTEXT STATICTEXT * StCreate( WORD ID, SHORT left, SHORT top, SHORT right, SHORT bottom, WORD state, XCHAR * pText, GOL_SCHEME * pScheme) WORD SldDraw(void * pObj) WORD StDraw(void * pObj) Text Entry Graphic
Notes Graphics Quick Reference Guide 15
Support Training Microchip is committed to supporting its customers in developing products faster and more efficiently. We maintain a worldwide network of field applications engineers and technical support ready to provide product and system assistance. In addition, the following service areas are available at www.microchip.com: ■ Support link provides a way to get questions answered fast: http://support.microchip.com ■ Sample link offers evaluation samples of any Microchip device: http://sample.