serial 16 x 2 lcd

i just recently bought a lcd off of ebay and im having trouble finding the correct librarys and wiring specifications .... the lcd has 4 pins vcc and GND(which i know are for power) and sda and sdl .. i am using a arduino uno

Pins LCD Arduino VCC +5V GND GND SCL SCL (or pin A4) SDA SDA (or pin A5)

Should be several libraries on github, look for I2C based ones.

KrisKasprzak: Pins LCD Arduino VCC +5V GND GND SCL SCL (or pin A4) SDA SDA (or pin A5)

Should be several libraries on github, look for I2C based ones.

well then inn such case im confused are a4 and a5 refering to anologe inputs or what?

brenden_nerd_: well then inn such case im confused are a4 and a5 refering to anologe inputs or what?

Yes.

The asnwer is that the pins on the Arduino can do double duty! Digital I/O pins 0 and 1, for example, CAN be configured for digital control, but they're usually used for serial communication (Rx and Tx) over the USB interface, instead. In a similar fashion, the Arduino UNO analog pins A4 and A5 CAN be configured for analog input, but they can ALSO be configured as digital I/O pin SCL (serial clock) and SDA (serial data) for I2C communication, respectively! Such versatility!! I hope this diminishes the confusion.