Exercises

12.1 Use the Windows Paint program to create an image with dimensions 128 × 64 pixels. Show how you can display this image on the GLCD.

12.2 Explain how a bitmap image of any size can be converted into 128 × 64 pixels and how it can be displayed on the GLCD.

12.3 Modify the moving ball animation program given in Figure 12.12, so that the ball moves diagonally.

12.4 Write a program to plot the function y = 2x2 +x − 12, with x varying between −5 and +5.

12.5 Write a program to plot the function y = 2x + 4, with x varying between −1 and +2.

Get Using LEDs, LCDs and GLCDs in Microcontroller Projects now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.