 void setup() {
   Serial.begin(250000);
 
-  pinMode(analogPin1, INPUT);
-  pinMode(analogPin2, INPUT);
+  pinMode(analogPin, INPUT);
 
   lcd.begin(16, 2);
 

LiquidScreen welcome_screen(welcome_line1, welcome_line2);

// Here there is not only a text string but also a changing integer variable.
LiquidLine analog1_line(0, 0, "Analog 1: ", analogReading1);
LiquidLine analog2_line(0, 1, "Analog 2: ", analogReading2);
LiquidScreen secondary_screen(analog1_line, analog2_line);

/*
 * The LiquidMenu object combines the LiquidScreen objects to form the

LiquidCrystal lcd(LCD_RS, LCD_E, LCD_D4, LCD_D5, LCD_D6, LCD_D7);

/*
 * Variable 'analogReading' is later configured to
 * be printed on the display. 'lastAnalogReading'
 * is used to check if the variable has changed.
 */
const byte analogPin = A1;
unsigned short analogReading = 0;
unsigned short lastAnalogReading = 0;

/*
 * Variables used for periodic execution of code. The first one is the period
 * in milliseconds and the second one is the last time the code executed.
 */
unsigned int period_check = 1000;
unsigned long lastMs_check = 0;

unsigned int period_nextScreen = 5000;
unsigned long lastMs_nextScreen = 0;

/*
 * LiquidLine objects represent a single line of text and/or variables
