QuoteJust try the lineLiquidCrystal lcd(8,9,4,5,6,7); Don't be tempted to re-write the number in order.This is horrible advice. Your recommendation points out the fact that you really don't understand it's purpose. Why don't you follow the links in reply #9 to find out?
Just try the lineLiquidCrystal lcd(8,9,4,5,6,7); Don't be tempted to re-write the number in order.
...although I guess you will not find it a pearl of wisdom.
1. While I have not read reply #9, I have read the original post, which I recommend to you, and the problem is very much like the problem I had, right down to the source of code that could be problematical.
Quote from: NickPyner on Dec 09, 2012, 04:18 am1. While I have not read reply #9, I have read the original post, which I recommend to you, and the problem is very much like the problem I had, right down to the source of code that could be problematical.The problem really isn't the code, it is that the constructor that configures the pins used by the LiquidCrystal library does not match how the lcd is wired up.So in reality it is that the LCD is mis-wired. i.e. the LCD is not wired up the way the sketch told the library it was wired.All the matters is that they match. You can wire the lcd up according the constructor or alterthe constructor in the sketch to match the wiring.
The problem is the code inasmuch as that quoted was written for the LCD shield designed and sold by the code writer, Oxner of tronixstuff and, while there is nothing wrong with that, is not likely to work with anything else. The shield in question is looks like no other I know of.
the prog i used is on page 366 of the arduino cookbook as thats recent and tried and tested i presume by michael margolis who wrote it
I don't have your book let alone page 366.
// initialize the library with the numbers of the interface pinsLiquidCrystal lcd(12, 11, 5, 4, 3, 2);
BTW, you have soldered the wires to the LCD module right?
lcd chip is the HD44780 standard controller .
Please enter a valid email to subscribe
We need to confirm your email address.
To complete the subscription, please click the link in the
email we just sent you.
Thank you for subscribing!
via Egeo 16