hmm.... You changed your post to something very different right as I was responding.
Anyway, in response the current post.
Hello everyone and thank you for all your response!! you were very helpful and it worked!!!
The I2CexpDiag sketch?
Im not sure what was the problem.
Me either, but it sounds like you might still have some kind of intermittent issue.
This is why it is a good thing to run the I2CexpDiag sketch that comes with the hd44780_I2Cexp i/o class.
It will test the i2c signals, run an i2c scan, then test the internal LCD RAM of each device it discovered.
It will report any issues it finds.
What i did was>
- Turn up the contrast so i can see the pixels (shows one line with squares)
contrast is good when you see the one line of squares - but it also means that the LCD is not being initialized.
- I included the library that bperry recommended ( i just downloaded it and included in the library folders)
But it appears that you have not installed the hd44780 library properly.
It appears that you installed it using a zip file downloaded from the github repository which created a directory with the incorrect name. Not only is it more difficult to install from a zip file than using the library manger network install capability, but having a library improperly installed can cause issues in the future when updating the library.
Installing from a zip file is not the recommended way to install the hd44780 library unless you are using an IDE prior to 1.6.2 which I would not recommend using and I assume you are not using.
Use the library manager to install the hd44780 library from the network directly, that way the library gets installed in the proper location with the proper name.
See post #2
or the detailed instructions on the hd44780 github repository.
To fix it, I would recommend deleting the hd447680-master directory and re-install it using the library manager - and not with a zip file.
- I run the 12C scanned Sketch that Nosaica.
If you are using the hd44780 library, there is no need to do an i2c scan.
I assume you are using the hd44780 library since I didn't see any other i2c LCD libraries in your "libraries" directory.
The hd44780 library can auto locate the i2c address and then auto detect the pin mappings used by the backpack and all the hd44780_I2Cexp examples use this capability.