void setup()  {

#include <LiquidCrystal_I2C.h>
#include <LiquidMenu.h>

  LiquidCrystal_I2C lcd(0x27, 20, 4);

}

//encore
#define outputA 6
#define outputB 7
#define sw 4

int aState;
int aLastState;

//RELE
#define rele1 22
#define rele2 23
#define rele3 24
#define rele4 25

int Programa_selecionado = 0;

LiquidLine linea1 (1, 0, "Ingreso agua");
LiquidLine linea2 (1, 1, "C41");
LiquidLine linea3 (1, 0, "Blanco y negro)");
LiquidLine Linea4 (1, 1, "Apagar!!");
LiquidScreen Pantalla1 (linea1, linea2, linea3, linea4);

LiquidLine linea1_2(1, 0, "ON");
LiquidLine linea2_2(1, 1, "OFF");
LiquidLine linea3_2(1, 0, "Atras");
LiquiScreen Pantalla2 (linea1_2, linea2_2, linea3_2):

  LiquidMenu menu(lcd, pantalla1, pantalla2);

void Setup() {

  pinMode(rele1, OUTPUT);
  pinMode(rele2, OUTPUT);
  pinMode(rele3, OUTPUT);
  pinMode(rele4, OUTPUT);

  pinMode(sw, INPUT_PULLUP);

  //lcd.init();
  lcd.begin();
  lcd.backligt();



  menu.init();

  linea1.set_focusPosition (Position::LEFT);
  linea2.set_focusPosition (Position::LEFT);
  linea3.set_focusPosition (Position::LEFT);
  linea4.set_focusPosition (Position::LEFT);

  linea1.attach_function(1, fn_rele1);
  linea2.attach_function(1, fn_rele2);
  linea3.attach_function(1, fn_rele3);
  linea4.attach_function(1, fn_rele4);
}
NOCOMNCVCCGNDINLED1PWRRelay Module
NOCOMNCVCCGNDINLED1PWRRelay Module
NOCOMNCVCCGNDINLED1PWRRelay Module
NOCOMNCVCCGNDINLED1PWRRelay Module
NOCOMNCVCCGNDINLED1PWRRelay Module
NOCOMNCVCCGNDINLED1PWRRelay Module
NOCOMNCVCCGNDINLED1PWRRelay Module
NOCOMNCVCCGNDINLED1PWRRelay Module
NOCOMNCVCCGNDINLED1PWRRelay Module
NOCOMNCVCCGNDINLED1PWRRelay Module
NOCOMNCVCCGNDINLED1PWRRelay Module
NOCOMNCVCCGNDINLED1PWRRelay Module
NOCOMNCVCCGNDINLED1PWRRelay Module
NOCOMNCVCCGNDINLED1PWRRelay Module
NOCOMNCVCCGNDINLED1PWRRelay Module
NOCOMNCVCCGNDINLED1PWRRelay Module
NOCOMNCVCCGNDINLED1PWRRelay Module
NOCOMNCVCCGNDINLED1PWRRelay Module
NOCOMNCVCCGNDINLED1PWRRelay Module
NOCOMNCVCCGNDINLED1PWRRelay Module
NOCOMNCVCCGNDINLED1PWRRelay Module
NOCOMNCVCCGNDINLED1PWRRelay Module
NOCOMNCVCCGNDINLED1PWRRelay Module
NOCOMNCVCCGNDINLED1PWRRelay Module
NOCOMNCVCCGNDINLED1PWRRelay Module
NOCOMNCVCCGNDINLED1PWRRelay Module