Hi all,
I have just received two 4 x 20 character LCD's from RS (532-6818) and the backlights on both are very dim when connected to my Arduino Mega 2560.
Code:
#include <LiquidCrystal.h>
LiquidCrystal lcd(33, 31, 29, 27, 25, 23);
void setup() {
lcd.begin(16, 2);
lcd.print("hello, world!");
}void loop() {
lcd.setCursor(0, 1);
lcd.print(millis()/1000);
}
Pin 1 - Gnd
Pin 2 - 5v
Pin 3 - Wiper on 10K pot for contrast
Pin 4 - Arduino pin 33
Pin 5 - Gnd
Pin 6 - Arduino Pin 31
Pin 7 - N/C
Pin 8 - N/C
Pin 9 - N/C
Pin 10 - N/C
Pin 11 - Arduino Pin 29
Pin 12 - Arduino Pin 27
Pin 13 - Arduino Pin 25
Pin 14 - Arduino Pin 23
Pin 15 - 5v
Pin 16 - Gnd
Any thoughts on why it might be so dim?