Grove PH Sensor SKU: SEN00600P

Has anyone used one of the grove PH sensors?
I am trying to read the PH of a liquid using the grove PH sensors.
using the code from the wiki page works fine when i compile it in its own sketch, however when i paste it into the body of another sketch the readout from the sensor provide unrealistic ph values rangeing between 400000 and -40000.
If anyone could help it would be appreciated.

Hi ajroche,

Please check whether there’s any conflict on the hardware connection and the code. This large ranging values probably were caused by unstable serial data transferring. If you would like, you can also send us your code and the data output. Thank you!