Hello, I just bought my I2C/SPI LCD adapter, and I'm trying to connect it to my Arduino Uno Rev3. I made the following connections:
A4 (analog pin) --> SDAT (on the I2C)
A5 (analog pin) --> SCLK (on the I2C)
and of course the +5, ground on both devices.
I have downloaded the library for it, and made sure that it is in my software. I ran the scanning sketch for the I2C, to find out that it can see the device. The scanning shows that it is at 0x20 address. In the program I tried initializing it at 0x20 address. I also read that if my A0, A1, and A2 connections are open it should be initialized at 0x27. I tried both addresses and still nothing. This is the code i uploaded to the arduino:
#include <Wire.h>
#include <LiquidCrystal_I2C.h>
LiquidCrystal_I2C lcd(0x20,16,2); // I also tried with 0x27
void setup()
{
lcd.init(); // initialize the lcd
// Print a message to the LCD.
lcd.backlight();
lcd.print("Hello, world!");
}
void loop()
{
}
PLEASEEE HELPPP!!! I don't know what else to do. I don't even know what to look for smiley-sad