#include < SoftwareSerial.h >
#include < LiquidCrystal.h >
// Pin Definitions
#define RELAY_PIN 7
#define BUZZER_PIN 8
#define GSM_RX 10
#define GSM_TX 11
// Initialize LCD and GSM
SoftwareSerial gsm(GSM_RX, GSM_TX);
LiquidCrystal lcd(13, 12, 5, 4, 3, 2);
// Global variables
String incomingMessage;
bool pumpCommandReceived = false;
String networkTime = "";
int signalStrength = 0;
bool incomingCall = false;
bool newMessage = false;
unsigned long lastDisplayUpdate = 0;
unsigned long lastNetworkCheck = 0;