#include<LiquidCrystal.h> // include the LCD libraryconstintrs=12,en=11,d4=5,d5=4,d6=3,d7=2;// where the LCD Interface pins are Conneceted to the arduino pinsLiquidCrystallcd(rs,en,d4,d5,d6,d7);// initialize the LCD interface pins neededvoidsetup(){lcd.begin(16,2);//Setup the LCD's columns and rows:lcd.print("Hello World !");//Print "Hello World" to the 16x2 LCD}voidloop(){}
Comments