i have been trying for months to get a display working with a UNO ,both 2 line and 4 line sparkfun LCDs wit the common chip on board.it lights up but theres nothing to see on the display .ive used sample progs from tronixstuff and UNO examples and arduino cookbook examples but nothing works as it should .it should be easy with pins 4 5 6 7 8 9 connected and some V and grnd but no figures on display .no scrolling no nothing .i have a 10k trim pot to adjust the display but just no display figures .helpprogs upload but theres nothing on display its barren
trying for months
i checked the connections over and over and theyre identical to that shown in the arduino cookbook .lcd chip is the HD44780 standard controller .its all a bog standard setup ,with 4 pins data transfer
LiquidCrystal lcd(8, 9, 4, 5, 6, 7);
It has this line, which I don't pretend to understand. I just used it as is and it worked...
//LiquidCrystal lcd(RS, E, D4, D5, D6, D7);LiquidCrystal lcd(7, 8, 9, 10, 11, 12); // put your pin numbers here
QuoteIt has this line, which I don't pretend to understand. I just used it as is and it worked...Well this is fully explained but very carefully hidden on the Arduino site.DonQuote...on display in the bottom of a locked filing cabinet stuck in a disused lavatory with a sign outside the door saying "Beware of the Leopard."
I also haven't been able to get a 6-parameter sketch to work, but a 7-parameter does.
Just try the lineLiquidCrystal lcd(8,9,4,5,6,7); Don't be tempted to re-write the number in order.