I would wire SDA on the clock to the Leonardo SDA pin near the Aref pin, and SCL on the clock to the SCL pin on the Arduino.
arbutus:
RealTimeClock \ Learning \ WiringI would wire SDA on the clock to the Leonardo SDA pin near the Aref pin, and SCL on the clock to the SCL pin on the Arduino.
I think you are kidding!
OK look here first:
You will see that pins D2 and D3 are used in the sketch - those are conflicting with D2, D3 used for the I2C Clock. So in the sketch and wiring, change those connections.
This is a 4 wire (4 bit) interface which is how most LCDs are connected. It is possible to use all 8 inputs but not necessary.
The reason I used the Adafruit LCD backpack is because it provides a connection to the Arduino using 2 or 3 wires (plus pwr/gnd) and therefore saves a lot of wiring.
Hope this helps!
arbutus:
OK look here first:http://arduino.cc/en/Tutorial/LiquidCrystal
You will see that pins D2 and D3 are used in the sketch - those are conflicting with D2, D3 used for the I2C Clock. So in the sketch and wiring, change those connections.
This is a 4 wire (4 bit) interface which is how most LCDs are connected. It is possible to use all 8 inputs but not necessary.
The reason I used the Adafruit LCD backpack is because it provides a connection to the Arduino using 2 or 3 wires (plus pwr/gnd) and therefore saves a lot of wiring.
Hope this helps!
...now you are clear.... this -> RGB backlight negative LCD 16x2 + extras [RGB on black] : ID 399 : Adafruit Industries, Unique & fun DIY electronics and kits is very interesting, only I can't buy only one or two...