Introduction
LCD(Liquid crystal display)
The liquid crystal display uses the property of light monitoring of liquid crystal and they do not emit the light directly. The Liquid crystal display is a flat panel display or the electronic visual display. With low information content the LCD’ s are obtained in the fixed image or the arbitrary image which are displayed or hidden like present words, digits, or 7 segment display. The arbitrary images are made up of large no of small pixels and the element has larger elements. A 16×2 LCD means it can display 16 characters per line and there are 2 such lines. In this LCD each character is displayed in a 5×7 pixel matrix. The 16 x 2 intelligent alphanumeric dot matrix display is capable of displaying 224 different characters and symbols.
Circuit
Code
- Create when flag clicked event
- From display pallete, drag initialize the 16×2 display and change the pin numbers as per the circuit diagram.
- From control palette drag forever block
- From display palette drag set cursor at column() row()
- Again from display palette drag write() display enter a message that you want to display on lcd screen.
- Repeat the above to block and change the column 3 and row to 2
- From control palette add wat() block and then from the display palette add clear display block
- Insert the above set of blocks in forever block
Script:
Output