#include < LiquidCrystal.h >
LiquidCrystal lcd(2, 3, 4, 5, 6, 7);
long duration, inches;
int set_val = 225; // Initial value, change as needed
int percentage;
bool state, pump;
const int buzzerPin = 13; // Define the buzzer pin
void setup() {
lcd.begin(16, 2);
lcd.print("WATER LEVEL:");
lcd.setCursor(0, 1);
lcd.print("PUMP:OFF MANUAL");
pinMode(8, OUTPUT);
pinMode(9, INPUT);
pinMode(10, INPUT_PULLUP);