HOW TO WRITE YOUR OWN CODE FOR AN LCD DISPLAY (16X2 OR 16X4)
The Arduino ide default comes with an excellent library with examples for LCD display it’s really easy! One to use. Mine is not best one but the reason behind this post is to experience the feel of writing your own code and understanding the embedded displays and their working technology and how they works with u-controllers, maybe in future it can helps you to write a code for lcd display with other new microcontrollers or other programming languages. So let’s start with the one important things: The datasheet is your friend in this quest for any quest, for real! So getting the data sheet is important here I’m using a 16x2 LCD. This kind LCD is based on parallel interface LCD controller chip from Hitachi called the HD44780. Next is physical pinout the display uses a matrix of dots and displays only characters in 16x2 matrixes. Each character is displayed in a 5 column × 8 row dot matrix or a 5 column × 10 row dot matrix The pinout is LCD has totally 16 pins they are: 1....