Getting Started: Running the
“Graphics Primitive Layer” demo
This
demo and the accompanying application note serves as a useful guide in creating
customized Widgets. The essential components of a Widget are enumerated and
described in the application note as well as the process of integrating the new
Widget into the Graphics Library.
The
Primitive Layer demo exhibits how basic rendering functions can be utilized to
draw shapes. The demo project is created to run on supported Microchip Demo
Boards and development hardware.
Pre-generated
hex files are available on the "Precompiled Hex"
sub-directory found in the demo directory. These hex files are generated using
the alternative hardware profiles found in the sub-directory named "Configs".
Use the "Demo Compatibility Guide" when running pre-generated hex
files appropriate for your hardware.
Demo Procedure:
Connect
the necessary hardware and program with the correct pre-generated hex. Demo
will loop through different screens showing composite shapes and bitmaps.
1)
Show the edge of
the screen in four different colors. This test can be very useful to verify if
the synchronization signals of the display is lined up properly.
2)
Diagonal lines
and concentric circles and filled concentric circles.
3)
Beveled shapes
and rings.
4)
Rectangles and
bars.
5)
Polygon.
6)
Use of small
fonts.
7)
Use of larger
fonts.
8)
Displaying 1bpp
format images.
9)
Displaying 4bpp
format images.
10) Displaying 8bpp format images.
11) Displaying 16bpp format images.
Trademarks:
The Microchip name and
logo, the Microchip logo, MPLAB, and PIC are registered trademarks of Microchip
Technology Incorporated in the
PICDEM and PICTail are
trademarks of Microchip Technology Incorporated in the
SD is a trademark of the
SD Association in the U.S.A and other countries
Microsoft, Windows,
Excel, and Windows Vista are either registered trademarks or trademarks of
Microsoft Corporation in the