Fig. 1
Fig. 1 above shows the program for Cursor which displays the text 'hello, world!' and also the cursor which blinks every 500 milliseconds. The cursor was able to blink at a specific interval thanks to the delay() function.
Fig. 2
Fig. 2 tells us how the delay() function works in detail. In essence, the complete program looks like so in Fig. 3 below.
Fig. 3
After completing our task for this week, we are now able to understand the programming functions and components required to program such elementary LCD. As mentioned in our previous post, we hope to work with other types of LCD for instance, Graphical LCD (GLCD), as it is more aesthetically pleasing to the eyes and much clearer for the driver to look at the parameters displayed.

No comments:
Post a Comment