Need help with a school project

Hi everyone,

for a school project, I have to make an educational toy so, I decided to make a toy that has 26 push buttons each will be one letter of the alphabet. Finally, I would like the letter to be shown on an LCD display. I am having a hard time with the code and seeking help. If someone could show me how to do the first two letter it would be a big help, thank you

Alexander-H:
Hi everyone,

for a school project, I have to make an educational toy so, I decided to make a toy that has 26 push buttons each will be one letter of the alphabet. Finally, I would like the letter to be shown on an LCD display. I am having a hard time with the code and seeking help. If someone could show me how to do the first two letter it would be a big help, thank you

We like to see what you have attempted so far.

Shows you made an effort.

This is what I have but when I press the button nothing happens. Any changes I can make?

#include <LiquidCrystal.h>

const int button1Pin= 8;

int button1State = 0;

LiquidCrystal lcd(12, 11, 5, 4, 3, 2);

void setup()
{
pinMode(button1Pin, INPUT);

lcd.begin(16, 2);
lcd.print(“HELLO WORLD”);
delay(1000);
lcd.clear();
}

void loop()
{
button1State = digitalRead(button1Pin);

if(button1State == LOW)
{
lcd.setCursor(0,0);
lcd.print(" A is for Apple ");
delay(3000);
lcd.clear();

}
}

Can you post your hardware button connection ?