Exercises
14.1 Design a project having two rectangular shaped components on a GLCD screen. Label these components as START and STOP. Write a Visual GLCD based program, such that when the START button is pressed, a buzzer connected to port pin RC7 gives a sound at the frequency of 800 Hz, and when the STOP button is pressed the buzzer stops sounding.
14.2 Design an integer calculator using the Visual GLCD software and the SmartGLCD module. The calculator should have the numbers 0 to 9, a clear key and an ENTER key. In addition, a display should be provided to show results of a calculation. Assume the four basic mathematical operations ‘+ − */’.
14.3 Design a free-hand screen drawing project using the Visual GLCD software and the SmartGLCD module. The user should be able to draw lines on the screen by touching and moving a stylus on the screen.
14.4 Modify the program in (3) above, so that the images created can be saved.
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access