Heya! I keep getting inputs from my 4 push buttons,
while i haven’t even pressed them. This started happening after I soldered the buttons with jumper cables, but before everything worked just fine.

#include <Wire.h>
#include <LiquidCrystal_I2C.h>
LiquidCrystal_I2C lcd(0x27, 16, 2);
int buttonPinUp = 11;
int buttonPinLeft = 10;
int buttonPinDown = 9;
int buttonPinRight = 6;
void setup()
{
pinMode(buttonPinUp, INPUT_PULLUP);
pinMode(buttonPinLeft, INPUT_PULLUP);
pinMode(buttonPinDown, INPUT_PULLUP);
pinMode(buttonPinRight, INPUT_PULLUP);
lcd.init();
lcd.init();
// Print a message to the LCD.
lcd.backlight();
lcd.setCursor(0, 0);
lcd.print("oh no its not doing it");
}
void loop()
{
int buttonValue = digitalRead(buttonPinUp);
int buttonValue2 = digitalRead(buttonPinLeft);
int buttonValue3 = digitalRead(buttonPinDown);
int buttonValue4 = digitalRead(buttonPinRight);
if (buttonValue == LOW)
{
// If button pushed, turn LED on
lcd.backlight();
lcd.setCursor(0, 0);
lcd.print("Up");
delay(500);
lcd.clear();
}
else
{
Serial.print(":(");
}
if (buttonValue2 == LOW)
{
// If button pushed, turn LED on
lcd.backlight();
lcd.setCursor(0, 0);
lcd.print("Left ");
delay(500);
lcd.clear();
}
else
{
Serial.print(":(");
}
if (buttonValue3 == LOW)
{
// If button pushed, turn LED on
lcd.backlight();
lcd.setCursor(0, 0);
lcd.print("Down");
delay(500);
lcd.clear();
}
else
{
Serial.print(":(");
}
if (buttonValue4 == LOW)
{
// If button pushed, turn LED on
lcd.backlight();
lcd.setCursor(0, 0);
lcd.print("Right");
delay(500);
lcd.clear();
}
else
{
Serial.print(":(");
}
}




