hi i tried to write code for 1st friend but not getting idea for other friends name
#include <LiquidCrystal.h>
const int buttonPin = 2;
int buttonState = 0;
void setup()
{
LiquidCrystal lcd(12, 11, 5, 4, 3, 2);
lcd.begin(16, 2);
// Print a message to the LCD.
lcd.print("Hello All");
// initialize the pushbutton pin as an input:
pinMode(buttonPin, INPUT);
if (buttonState == HIGH)
// set up the LCD's number of columns and rows:
lcd.begin(16, 2);
// Print a message to the LCD.
lcd.print("Jon");
}
void loop()
{
}