what happens in the Serial monitor when you load this and press buttons:
int read_LCD_buttons()
{
return analogRead(0); // read the value from the sensor
}
void setup()
{
Serial.begin(9600);
}
void loop()
{
if(int newPress = read_LCD_buttons())
{
Serial.print(F("Button Pressed:"));
Serial.println(newPress);
}
}