I Have A
Funduino IIC / I2C 1602 LCD Adapter Board
I Can Get The Contrast And Backlight On But No Text. I Tried The LiquidCrystal_I2C Library But It Doesent Work.
I Have SDA, and SCL Connected To Analog In Pins 5, and 4.
I Have A
Funduino IIC / I2C 1602 LCD Adapter Board
I Can Get The Contrast And Backlight On But No Text. I Tried The LiquidCrystal_I2C Library But It Doesent Work.
I Have SDA, and SCL Connected To Analog In Pins 5, and 4.
Show Us Your Code and please stop putting capitals on words that don't need it.
please stop putting capitals on words that don't need it.
maybe it is a secret code
you can reuse long sentences by only repeating the capitals or so?
I Have SDA, and SCL Connected To Analog In Pins 5, and 4.
that is phrased ambiguous at best,
You must connect SCL to A5 and SDA to A4 (SCL contains the L of the word last)
Code:
//YWROBOT
//Compatible with the Arduino IDE 1.0
//Library version:1.1
#include <Wire.h>
#include <LiquidCrystal_I2C.h>
LiquidCrystal_I2C lcd(0x27,16,2); // set the LCD address to 0x27 for a 16 chars and 2 line display
void setup()
{
lcd.init(); // initialize the lcd
// Print a message to the LCD.
lcd.backlight();
lcd.print("Hello, world!");
}
void loop()
{
}
SOLVED!!
I figured out they have different SDA, and SCL pins for the arduino mega 2560. Instead of A4, and A5 I have to use 20, and 21.
arduino mega 2560
Maybe you should have told that in your first post
adruinouno111:
Code://YWROBOT
//Compatible with the Arduino IDE 1.0
//Library version:1.1
#include <Wire.h>
#include <LiquidCrystal_I2C.h>LiquidCrystal_I2C lcd(0x27,16,2); // set the LCD address to 0x27 for a 16 chars and 2 line display
void setup()
{
lcd.init(); // initialize the lcd// Print a message to the LCD.
lcd.backlight();
lcd.print("Hello, world!");
}void loop()
{
}
Code tags?