So am really new to playing with electronics but i just got an Arduino 4 weeks ago and have been playing with it non-stop and haven't really had a problem getting little things to work so i went ahead and got a LCD GDM2004D to play with but i cant get it to work and i was hoping you could point me in the right direction of what am doing wrong
Thanks
the LCD i got
sparkfun. com/commerce/product_info.php?products_id=256
sparkfun. com/datasheets/LCD/GDM2004D.pdf
LCD pin --> Arduino pin
4 --> digital 12
6 --> digital 11
11 --> digital 5
12 --> digital 4
13 --> digital 3
14 --> digital 2
15 --> 5v
16 --> Ground
the code am using came from
arduino. cc/en/Tutorial/LiquidCrystal
#include <LiquidCrystal.h>
// initialize the library with the numbers of the interface pins
LiquidCrystal lcd(12, 11, 5, 4, 3, 2);
void setup() {
// set up the LCD's number of columns and rows:
lcd.begin(20, 4);
// 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, 1);
// print the number of seconds since reset:
lcd.print(millis()/1000);
}