Ok say you want use I2c with it you download a library with that added then it messes up the real one that came with arduino ide
Is there a way to stop this or a way to add the I2c part to the LiquidCrystal that comes with the ide.
I've never heard of one of the the I2C LiquidCrystal libraries messing up the stock LiquidCrystal library. I could definitely help you with this problem but I'd need much more detail on what's happening.
- Which library did you install (post link or say if Library Manager installation)?
- How did you install it?
- In what way did it mess up the LiquidCrystal library?
Yes fm's New LiquidCrystal will affect the bundled LiquidCrystal library as it replaces the IDE bundled LiquidCrystal library.
My recommendation is to use my hd44780 library as it can be installed using the IDE library manager and does not affect any other LCD library.
It is easier to install and use than fm's library as it can also auto detect the i2c address and pin mappings.
--- bill
New LiquidCrystal Has killed my ide with all kinds of errors. I downloading your hd44780 library going to have a look.
you can search the forum for other of my posts about it.
The the i/o class you will want to use is hd44780_I2Cexp
First thing will be run the included diagnostic sketch (I2CexpDiag) to test everything.
--- bill
I done no the lcd works it was just the New Liquidcrystal was driving me crazy every time i open the arduino app it wanted to update and as soon as it did I lost the use of the PCF8574 I'm using to drive my LCD with i2c.
What you said is extremely difficult to understand but since you haven't made any effort to answer my questions I'm going to interpret it as meaning that you're happy with whatever you have going on and there is no need for further discussion on this thread. Good luck!
Good lord I just ask if there is library That has i2c for the LCD That doesn't break My arduino IDE cause I'm sick Of fixing it every time I update. I don't need to test nothing I Know the LCD works I've used it it's using a PCF8574AP witch has a address of 0x38
The problem is I Installed New Liquid crystal I wanted to use the LCD it didn't work because I updated The ide and I no longer have the right Liquid crystal .h So I download the library. It tells me there a update so I did guess what My Lcd code errors.
Why the update changes the .h file i need.
And Bperry hd44780 library works fine just update Liquid crystal and the LCD code I used still works using it problem fixed
pert:
I could definitely help you with this problem but I'd need much more detail on what's happening.
- Which library did you install (post link or say if Library Manager installation)?
- How did you install it?
- In what way did it mess up the LiquidCrystal library?
https://bitbucket.org/fmalpartida/new-liquidcrystal/wiki/Home
Did it just as they said It works fine till there a update they using the same naming LiquidCrystal.h guess what the ide likes the one that came with it better LOL
How that new liquid cyrstal library behaves depends on how/where it is installed. It can be installed in a way that allows the ide to be updated without issues. However because of the way fm's library does things combined with the simplistic way the ide does it's builds, there can be issues if the ide changes the directory structure which it has from time to time. Also the ide does builtin library updates to the user sketchbook area. This is frought with issues and can break lots of things especially if there is a library that uses a name the same as an ide bundled library like fm's library.
hd44780 avoids all that by using a distinctly unique name.