Well I am really proud of myself.
The lcd displays the information that I want and it stays there until it is altered,
Thanks to those who gave me guidance
The full sketch
/ include the library code:
#include <LiquidCrystal.h>
// initialize the library with the numbers of the interface pins
LiquidCrystal lcd(12, 11, 5, 4, 3, 2);
// here I want to enter the values of a,b,c,d,e,f, so that they will be entered automatically below
unsigned int a = 55; // size of first drop in ms (best size for trajectory)
unsigned int b = 85; // time between 1st and 2nd drops
unsigned int c = 55; // size of second drop in ms
unsigned int d = 85; // time between 2nd and 3rd drops
unsigned int e = 55; // size of third drop in ms
unsigned int f = 5000; // 5 sec before restarting
void setup() {
// initialize the digital pins as an output.
pinMode(6, OUTPUT);
pinMode(7, OUTPUT);
pinMode(8, OUTPUT);
// set up the LCD's number of columns and rows:
lcd.begin(16, 2);
}
void loop() {
digitalWrite(6, HIGH); // Turns ON Relay 3 on digital pin 6 (blue)
delay(a); // size of drop in ms best size for trajectory
digitalWrite(6, LOW); // Turns OFF Relay 3 on digital pin 6
delay(b); // time between 1st and 2nd drops
digitalWrite(7, HIGH); // Turns ON Relay 2 on digital pin 7 (yellow)
delay(c); // size of drop in ms
digitalWrite(7, LOW); // Turns OFF Relay 2 on digital pin 7
delay(d); // time between 2nd and 3rd drops
digitalWrite(8, HIGH); // Turns ON Relay 1 on digital pin 8 (red)
delay(e); // size of drop in ms
digitalWrite(8, LOW); // Turns OFF Relay 1 on digital pin 8
// here I want to display the timeing info on the lcd
// Print a message to the lcd in this format
// a c e
// b d f
lcd.setCursor(0,0); //1st position 1st row
lcd.print(a);
lcd.print(" ");
lcd.print(c);
lcd.print(" ");
lcd.print(e);
lcd.setCursor(0,1); // 1st position on 2nd row
lcd.print(b);
lcd.print(" ");
lcd.print(d);
lcd.print(" ");
lcd.print(f);
delay(f); // Delay before recycling
}