Hi, I have the following problem that repeats itself on different boards.
The problem exists regardless of the power source (USB, external).
When the power is on the LCD doesn't start before I depress the
re-set button a couple of times.
The setup is simple - I tried to minimize the number of wires so
I used 4 data wires and I grounded the 5-th pin of LCD as
suggested in some manual.
The LCD related strings of code look like follows:
#include <LiquidCrystal.h>
LiquidCrystal lcd(12, 0, 13, 4, 7, 8, 9);
void setup()
{
...
lcd.clear();
...
}
void loop()
{
lcd.setCursor(aaa,bbb);
lcd.print("ccc");
}
"LCD doesn't start" means that the code and the board are definitely running (there are sound and light indicators that behave exactly like
they are supposed to do) but there's no sign of anything on the display.
(The LED is on, the contrast is set by the potentiometer.)
After the LCD has finally started to operate it doesn't go back
to blank screen regardless of the resets or code uploading.
Thanks for the ideas.