Pages: [1]   Go Down
Author Topic: Lcd backligth problem  (Read 223 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 5
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hello I bougt 16X2 Blue Lcd .
I write code to arduino
Code:
// include the library code:
#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(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, 1);
  // print the number of seconds since reset:
  lcd.print(millis()/1000);
}
İt's worked . But after 1 hour  I try .Lcd write hello, world! , Lcd s backlight not worked .
Why backlight didnt work
Logged

Manchester (England England)
Offline Offline
Brattain Member
*****
Karma: 509
Posts: 31487
Solder is electric glue
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Does it work now? Or did it only work for the first hour?
If it is now broken was there a current limiting resistor in line with the back light?
You could have burnt it out.
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 22
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

If it was an assembled shield, there are circuit layout problems with those. Google 16x2 backlight pwm and you'll probably find what I'm talking about. I just turned mine off...

Chris
Logged

Pages: [1]   Go Up
Jump to: