![]() In the statement the starting keyword LiquidCrystal is the library keyword than in lcd(12,11,5,4,3,2) lcd is the name which we are going to use for our lcd operations you can also change it according to your wish. If you not assign it in descending order than your lcd wont work. Note that always assign the pins in descending order like i did 12,11,5,4,3,2. The liquidcrystal library do that since it is coded in such a way that it automatically assign pins in the above format. Now You people are thinking how does it do that. Then the line LiquidCrystal lcd(12,11,5,4,3,2) is initializing the lcd in 4-bit mode. Arduino has less pins than other simple micro controllers so we use lcd with Arduino in 4-bit mode. First import the library This library is designed to provide necessary functions to be used with lcd. ![]() Before proceeding first just take a look on Whats The difference between 4-bit and 8-bit lcd. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
February 2023
Categories |