Life was going happy with IDE version 1.6.5
Compiled and tested a large code saved it and then made the foolish decision to download and install IDE version 1.6.7
And since then the only message I see is the Fatal Error.
The Liquid Crystal library is very much there in C:\Users\RRNathan\Documents\Arduino\libraries
which also is the Sketch Book location in Preferences dialog box. And I can swear that I moved no file / folder when installing the version 1.6.7.
In fact I tried to add the library LiquidCrystal V1.2.1.zip it ( the smart IDE) promptly says Liquid Crystal library already exists.
I have enclosed the code upto Setup()
//=================== INCLUDE ====================
// Include Libraries :
#include "LCD.h"
#include "LiquidCrystal_I2C.h"
#include <SPI.h>
#include "Wire.h"
#include <phi_interfaces.h>
#include <EEPROM.h>
#include <SD.h>
//&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
//================== DEFINES ======================
//&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
// Define the LCD pins to use and Initialize an instance
LiquidCrystal_I2C lcd(0x27,2,1,0,4,5,6,7); // 0x27 is the I2C bus address
// Define the Machine Digital Inputs and Outputs
#define StartPB 31 // Mega2560 mapping
#define IncrPB 33
#define DecrPB 35
#define EnterPB 37
#define total_buttons 4
char mapDIN[]={'S','I','D','E'}; // This is a list of names for each button.
byte pinDIN[]={ StartPB,IncrPB,DecrPB,EnterPB}; // The digital pins connected to the 4 buttons.
phi_button_groups MyDIN(mapDIN, pinDIN, total_buttons);
multiple_button_input* pad1=&MyDIN;
int BuzzerOut = 14; // Output pin defines...
int BTState = 15;
int FltLedOut = 16;
// List all global variables....
char LCDmsg[40]; // Mega2560
unsigned int ScanMs = 50;
char ValidDIN = '0';
byte second, minute, hour, dayOfWeek, dayOfMonth, month, year;
char tempchar[5];
char Yr_Array[5];
char Mo_Array[5];
char Dt_Array[5];
char Hr_Array[5];
char Mi_Array[5];
char CurLoc, NCurLoc;
boolean RTC_Set_Gate = 0, RTC_Set_Gate01 = 1, RTC_Set_Gate02 = 0, HomeDisp_Gate = 1;
// Define Gate Flags to block segments by choice.
boolean RTC_Disp_Gate = HIGH;
//&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
//================= SETUP =========================
//&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
void setup()
{
// START SERIAL FOR DEBUGGING
Serial.begin(9600);
// Usage : Serial.println(variable);
// START THE I2C INTERFACE
#define DS3231_I2C_ADDRESS 0x68 // 0x68 is the RTC address
Wire.begin();
Wire.beginTransmission(DS3231_I2C_ADDRESS);
Wire.write(0xE); // Address the Control Register
Wire.write(0x00); // Write 0x0 to control Register
Wire.endTransmission();
Wire.beginTransmission(DS3231_I2C_ADDRESS);
Wire.write(0xF); // Address the Status register
Wire.write(0x00); // Write 0x0 to Status Register
Wire.endTransmission();
// START THE LCD INTERFACE
lcd.begin(20,4);
lcd.setBacklightPin(3,POSITIVE);
lcd.setBacklight(HIGH);
lcd.clear();
lcd.write( "VAP LUBE MANAGEMENT.");
lcd.setCursor(0,1);
lcd.write( " Version : 1.00 ");
lcd.setCursor(0,2);
lcd.write( "%%%%%%%%%%%%%%%%%%%%");
lcd.setCursor(0,3);
lcd.write( "$$$$$$$$$$");
delay (2000);
// SETUP THE OUTPUT PIN
pinMode(BuzzerOut, OUTPUT);
pinMode(BTState, OUTPUT);
pinMode(FltLedOut, OUTPUT);
//setDS3231time(00, 32, 12, 7, 13, 12, 15); // For setting RTC (Sec,Min,Hr,Day,Month,Year)
}
I will be happy to be able to use my checked and verified code ... kindly help.