problem using Wire library

Hi there,
I'm new with arduino though I know C/CPP so I believe the transition will be quite easy..
Anyway, I'm trying to get reading from ph/ec probs using whiteBox labs tentacle shield.
When i'm using this code i'm successfully connecting the shield and getting a reading though when i'm using this one (continuous readings), or any modified version i've made the arduino seems t fail connecting the shield.

Can someone help me solve this?

Regards!

Solved..
Wow, I feel really stupid wasting a day for not paying attention!
I used Wire library for arduino due instead of Wire1.