A couple of years ago I built a MIDI controller which used an LCD for selecting the various controller modes. The controller was working fine and the code I wrote was compiling without problem. Recently I decided to make some changes, pulled out the old working code but it won't compile anymore.
Now, I believe I have installed the required libraries but I keep getting error messages like the ones below:
#pragma message: LiquidMenu: Configured for Parallel. Edit 'LiquidMenu_config.h' file to change it
#pragma message: LiquidMenu: Selected 'LiquidCrystal' (parallel) library. Edit 'LiquidMenu_config.h' file to change it.
these are the library I am using in the code:
Encoder.h; Wire.h; Adafruit_Trellis.hl; Adafruit_UNTZtrument.h; LiquidCrystal_I2C.h; LiquidMenu.h; avr/pgmspace.h; MIDIUSB.h.
It appears that the problem is caused by the LiquidCrystal_I2C and liquidmenu libraries.
I have searched on the forum and found that there are many different LiquidCrystal_I2C libraries using the same name but with different functions (so that may well be the problem here). I checked my library folder to make sure that I was not using the wrong one. In there I found that at the time I was coding, I had Newliquidcrystal_1.3.5 and LiquidCrystal_I2C-1.1.2. I tried both with no success. It's very annoying because the original code was compiling and working. I even tried to install the IDE version I was using at the time 1.8.7 but it makes no difference. Any suggestion?
just to be a bit more precise with a few examples
with LiquidCrystal_I2C-1.1.2 installed the program stops at this line:
LiquidCrystal_I2C lcd (I2C_ADDR, En_pin, Rw_pin, Rs_pin, D4_pin, D5_pin, D6_pin, D7_pin);
and produces this error:
#pragma message: LiquidMenu: Selected 'LiquidCrystal' (parallel) library. Edit 'LiquidMenu_config.h' file to change it
with Newliquidcrystal_1.3.5 installed the program stops at this line (which is a bit further down the line below):
LiquidMenu menu (lcd); (producing the same error)