DFrobot Romeo V2 and ADJD S311 color light sensor

I am using the Romeo V2 controller from DFrobot:

http://www.dfrobot.com/wiki/index.php/R … U:DFR0225)

and the ADJDS311 color sensor which is a I2C device, I followed the tutorial on bildr:

http://bildr.org/2012/01/adjd-s311_arduino/

as the controller used in the tutorial is Uno, the connection of I2C device is different from Romeo V2.

I connected the sensor both to pin A4 and A5 in this picture:

http://bildr.org/blog/wp-content/upload … Hookup.png

and to SDA and SCL pins in this picture

http://www.dfrobot.com/wiki/images/f/fc/RomeoV2R3.png

But none of the two connections worked, when I uploaded the code from

http://bildr.org/2012/01/adjd-s311_arduino/

and

https://www.sparkfun.com/datasheets/Sen … xample.pde

the sensor did not calibrate as it is supposed to be.

in the code, there was

int sdaPin = A4;

int sclPin = A5;

but if I connect the SDA and SCL to pins on Romeo two, shall I repalce the codes with another? then what shall I int?

I guess the problem may also be the connection, but I just can’t figure it out.

can someone help me with the problem?