I would like to know what I've done wrong. I configured my circuit using the "Hello world tutorial. I got the infamous white square pattern
- D7 to pin 2
- D6 to pin 3
- D5 to pin 4
- D4 to pin 5
- E to pin 11
My code:
// include the library code:
#include <LiquidCrystal.h>
//LiquidCrystal lcd(RS, E, D4, D5, D6, D7);
LiquidCrystal lcd(2, 3, 4, 5, 11, 12); // put your pin numbers here
void setup() {
// set up the LCD's number of columns and rows:
lcd.begin(16, 2);
// Print a message to the LCD.
lcd.print("hello, world!");
}
void loop() {
// set the cursor to column 0, line 1
// (note: line 1 is the second row, since counting begins with 0):
lcd.setCursor(0, 0);
// print the number of seconds since reset:
lcd.print("hello, world!");
}
