I have an LCD working on Duem./328 using 0017 and the standard example in the code, hello world.
Same LCD moved over to a Mega, moved the pin interface over to the “double socket” pins in the 41 to 53 range, I’m using all odd numbered pins on that socket.
The LCD is not getting past the “top half dark” initialization problem.
Just wondering if the LCD library supports the higher-numbered pins of the Mega? I’ve used the higher numbers in the LCD initialization string and get no complaints.
One thing I am doing differently on the Mega is using an I/O output HIGH to power the LCD. Powering the LCD is the first thing I do… then a pause a couple seconds. Before I start using LCD commands.
Tell me this: when does the initialization of LCD happen?
In the pre-amble before setup() I have this:
// initialize the library with the numbers of the interface pins
Does the initialization happen BEFORE setup runs?
If so, I do not have the LCD powered yet.