My Yun analogRead() gives diffrent value than leonardo and UNO analogRead()

Hi

Im running simple code to check PH and ORP on my UNO and leonardo boards and Im getting good values .

when Im loading the same code to my Yun board the numbers that Im getting from the analog ports are different ( higher values ) from the Leonard and UNO boards .

As far as i know the Yun should work the same as the other board analogRead() dose it ?

this is my code:

#include <OneWire.h>


delay(1000); //just here to slow down the output so it is easier to read
   analogRead(A0);     // pH Level equation
    
    float PHprobe = analogRead(A0);     // pH Level equation
    float PHLevel = (0.0178 * (PHprobe) - 1.889);  //PHprobe -26  //-14
    float HOT_pH = -1.9 - (((2.5 - PHprobe)/200) / (0.257179 + 0.000941468 * temperature));  // - 1.9
     
       
   Serial.println(PHLevel);
   Serial.println("Request sent PH");

 delay(1000); //just here to slow down the output so it is easier to read
    int mV;
    analogRead(A1);
    float ORPprobe = analogRead(A1);
    mV = ((2.5 - ORPprobe / 200) / 1.037)* 1000;
    
 
  
Serial.println(mV);
Serial.println("Request sent ROX");

Share complete code. You are sharing code without loop , setup()

Please let us know what difference of output you getting UNO & YUN. share us serial monitor screen shot of output monitor

Please don't double post.

I replied you here http://forum.arduino.cc/index.php?topic=287829.0