Controlling LCD Tutorial with only o/p and delay icons.
Posted: Mon Dec 27, 2010 12:50 pm
This is a tutorial with a difference. Using 18F4455 (can change target device of course :p )
The attached flowchart shows how to initialise LCD, display the word Hello and finally make the cursor blink, all without the use of any LCD component macros or C blocks.
The only Icons used are delays and port outputs.
Hopefully this should make it less daunting to follow than typical datasheets:
http://docs-europe.electrocomponents.co ... 6dda16.pdf
By following icons you should be able to see how Enable(E) and Register select (RS) is used for control and data functions.
Once you have learned how to control the LCD, it should be much easier to create a customised Cblock to produce your own customised characters and functions.
The attached flowchart shows how to initialise LCD, display the word Hello and finally make the cursor blink, all without the use of any LCD component macros or C blocks.
The only Icons used are delays and port outputs.
Hopefully this should make it less daunting to follow than typical datasheets:
http://docs-europe.electrocomponents.co ... 6dda16.pdf
By following icons you should be able to see how Enable(E) and Register select (RS) is used for control and data functions.
Once you have learned how to control the LCD, it should be much easier to create a customised Cblock to produce your own customised characters and functions.