Data SheetTable of ContentsIntroduction1Basics of Color Science1FIGURE 1: Red + Green = Yellow1FIGURE 2: Colors in 16-bit Representation2FIGURE 3: GrayScale Values of 0 to 2252FIGURE 4: Color Look-up Table (CLUT)2Basic Display Terminology3FIGURE 5: A 3.5'' QVGA Display in Landscape Mode3Graphics Subsystem Hardware4Components of a Graphics System4FIGURE 6: The Four Basic Components of a Graphics System4Display Glass4TABLE 1: Comparison of Different Display Technologies(1)4Display Controller5Frame Buffer5EQUATION 1:5EXAMPLE 1:5EXAMPLE 2:5EXAMPLE 3:5Microcontroller6FIGURE 7: Pixel Data Update6Integration of Basic Components7FIGURE 8: Different Ways of Integrating Basic Graphics’ Components7TABLE 2: Basic Components8Power Sequencing in Display Panels9FIGURE 9: Power Sequence of a Panel9Touch Screen104-Wire Resistive Touch Screen10FIGURE 10: 4-Wire Resistive Touch Screen10FIGURE 11: Measurement of the X-Voltage11FIGURE 12: Measurement of the Y-Voltage11Decision Factors11Display Resolution and Size11FIGURE 13: Display of ‘A’ at Various Resolutions11Display Orientation12Color Depth Selection12FIGURE 14: Landscape and Portrait Displays used in Landscape Mode12TABLE 3: RAM Size Requirement for Different Color Depths12Frame Buffer Size13EQUATION 2:13Processing Power (MIPS)13Configuration of Graphics Components13Frame Rate vs. MIPS13Interfacing with an Unmatched Number of Display RGB Lines14FIGURE 15: Display Controller’s Display Signals less than LCD’s Display Signals14FIGURE 16: Display Controller’s Display Signals are more than LCD’s Display Signals (Possible Color Degradation)15The PIC24FJ256DA210 Microcontroller16FIGURE 17: PIC24FJ256DA210 graphics controller module16TABLE 4: Microcontroller Pins17Development Tools19FIGURE 18: Graphics PICtail™ Plus Daughter Board with 3.2'' Display Kit (AC164127-3)19FIGURE 19: Development Board supplied with PIC24FJ256DA210 Development Kit (DV164039)19FIGURE 20: 4.3'' WQVGA Powertip TFT Display Board (AC164127-6)20FIGURE 21: Graphics Display Prototype Boards (AC164139)20Software21FIGURE 22: Structure of Microchip Graphics Library21Display Device Driver Layer22Graphic Primitive Layer22Graphic Object Layer (GOL)22EQUATION 3:23User Message Interface24Application Layer24EXAMPLE 4:24EXAMPLE 5:25EXAMPLE 6:25Configuration26GraphicsConfig.h26HardwareProfile.h27Other Graphics Libraries for PIC Microcontroller27Conclusion27Appendix A: Color Look-up Table (CLUT)28A Recap of Basic Concepts288-Bit Gray Level Image28Image Data Type for Color Images288-Bit Color Image Files28FIGURE A-1: Color Look-Up Table (CLUT)28TABLE A-1: Contents of an example Image using Indexes Instead of RGB Values29TABLE A-2: Palette TablE (24 BPP)29Median Cut Algorithm29Appendix B: Double-Buffering30FIGURE B-1: Initial Stage30FIGURE B-2: Drawing Stage30FIGURE B-3: Swap Stage30FIGURE B-4: Final Stage30When to Use Double-Buffering?30When Not to Use Double-Buffering?30How to Use Double-Buffering?30Appendix C: Advanced Usage of RCCGPU31FIGURE C-1: Move from Left to right31FIGURE C-2: Expanding Rectangle31FIGURE C-3: Expanding line31Appendix D: Abbreviations32TABLE D-1: Abbreviations32References32Worldwide Sales and Service34Size: 581 KBPages: 34Language: EnglishOpen manual