ads115 external adc with arduino

hi ,

I need to use two ads1115 I2c IC in a single code. In arduino i added the library filr for ads1115. it is working fine with single ads1115, while it results error , when i try to access both ads1115 slaves. Both of them have different address.
the adress are follwed (0x49) and (0x489)

Can anyone tell me how to add additional ads library for same arduino version orlese tell me ideas on how to create our own library to add support for second one (ADS115).

Thnaks in Advance

Chozhan

while it results error , when i try to access both ads1115 slaves.

What error?

Where is the code YOU used?