I've spent a few hours messing around trying different things that didn't work. I downloaded Eli's code and it worked on the first attempt. I will now go through it line by line and learn how it works and use it in my project. Many Thanks :)
Hi Eli, I want my LCD to have inverted characters (the reason is I have a screen installed upside down), how would you do it without making custom characters?
This is not a good tutorial. It gets it wrong when talking about the libraries at 3:12 The sketch is not using the LiquidCrystal_I2C library at all. It is only using fm's NewLIquidCrystal library. Given the sketch code, there was no need to install the LiquidCrystal_I2C library as LCD.h and LiquidCrystal_I2C.h header files are both part of fm's NewLiquidCrystal library. And while you have installed the LiquidCrystal_I2C library, which also has a LiquidCrystal_I2C.h header file. the LiquidCrystal_I2C.h and LiquidCrystal_I2C class is coming from the NewLiquidCrystal library. The LiquidCrystal_I2C object constructors between the two libraries are very different. The one being used in the example sketch is the one from LiquidCrystal_I2C class that is in NewLiquidCrystal. My suggestion for an easy to use "it just works" solution is to use the hd44780 library which can be installed using the IDE library manager. Just search for in the IDE then click [Install]. This library comes with an i/o class called hd44780_I2Cexp which is for hd44780 LCDs that use either PCF8574 or MCP23008 based i2c backpacks. The library can self configure itself so it will auto locate the i2c address and auto detect the pin mapping used by the backpack so it will work with any of the various h/w variations of the PCF8574 based backpacks. The library includes documentation and extensive examples. The library being used in this tutorial (NewLiqudCrystal with the LiquidCrystal_I2C i/o class) requires manual configuration of the i2c address and 7 or 9 parameters for configuring pin mapping used on the backpack between the PCF8574 chip and the LCD. If any of the constructor parameters is incorrect, it won't work. And keep in mind that there is more than one pin mapping used on PCF8574 backpacks. With the hd44780 library and the hd44780_I2Cexp i/o class, the library figures it all out for you. The hd44780_I2Cexp i/o class also comes with a diagnostic sketch, I2CexpDiag, that will test the i2c connections and LCD h/w and report an issues on serial port. The hd44780 library includes additional features like long line wrapping, and is quite a bit faster than the other libraries. You can also read more about the hd44780 library on the github page: github.com/duinoWitchery/hd44780
i have done all the things as you showed. bt my display doesn't show any characters. It only shows some like white boxes on the screen. what should I do?
J'ai eu le même problème. C'était un problème d'adresse de l'I2C. J'ai fais un nouveau sketch avec le code de ce lien forum.arduino.cc/index.php?topic=439436.0. (avec un baudrate de 115200). J'ai obtenu 0x3F et le l'ai rempacé dans la ligne lcd(0x3F,2,1,0,4,5,6,7); et là ca fonctionne parfaitement
SOLVED - had the problem fixed - see 5:22 - you have to turn on the serial monitor before running the sketch at 7:32 (link in the description) Hi - everything works and all connections are correct but my display doesn't show any characters. It only shows some like white boxes on the screen. what should I do?
Great set of videos. Very easy to follow. Just getting into Arduino. Mine is blinking, so cool. Have I graduated to tech geek yet? Probably just inventing the wheel at the moment.
Hi. :-) big fan of your channel. I got some question buddy . How do i creat money transfer business like Wester Union . Wann a create my own and your advise . Thanks alot in advance buddy