I realise that this is a bit minority-interest, but I am trying to put together a tester for my large heap of various LCD displays. This tester (based on a standard Nano) outputs a screen of useful information to show if an LCD display is communication, and has no defects.
I got the parallel interface LCD tester working very quickly, based on the very helpful "LCD Test Bench" by Floris Wouterlood (Arduino LCD test bench – thesolaruniverse). BTW there seems to be a naughty link there somewhere which pops up dodgy looking advertisements after a while viewing that page.
But I want to output a similar I2C test routine at the same time, and I cannot find any way of having both libraries loaded into the IDE.
I can do a sketch using LiquidCrystal_I2C, or another one using the original LiquidCrystal. Both work fine, as expected. But I cannot combine the two, as they use identical syntax.
Most libraries seem to be for standard OR I2C, and the excellent hd44780 library is very flexible but requires a "case" to be set at the outset to define which display you are dealing with.
I would not mind having a switch that is sensed to swap between parallel and I2C on boot-up if that is somehow easier.
Does anyone have any hints for me so I can put this little project to bed?
Many thanks