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

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

/*
 * Variables 'analogReading1' and 'analogReading2' are later configured to
 * be printed on the display. 'lastAnalogReading1' and 'lastAnalogReading2'
 * are used to check if the variable has changed.
 */
const byte analogPin1 = A1;
unsigned short analogReading1 = 0;
unsigned short lastAnalogReading1 = 0;

const byte analogPin2 = A2;
unsigned short analogReading2 = 0;
unsigned short lastAnalogReading2 = 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 = 500;
unsigned long lastMs_check = 0;

unsigned int period_next = 5000;
unsigned long lastMs_next = 0;

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

 * - LCD Cathode to ground
 * - ----
 * - some analog input to Arduino pin A1 (unconnected also works)
 *
 * Created July 24, 2016
 * by Vasil Kalchev
