Ambient pressure and pressure history don't match

Hey all, does anyone know what pressure the pressure history is storing? I have tested with putting both on screen and my ambient pressure is always higher than my max pressure history (over last 30 mins) so what is this doing?

If I look at my watch now it shows PH getMax to be 101833 and my AP now to be 102996. The PH never been above 101... if I put it in water (20cm) the AP goes up to 104888 which shows AP sensor is moving but PH never changes or goes near it.

Any insights would be great as I am trying to see historical pressure history to make a "guess" on no fly time for diving.

Many thanks,

Ben

  • I am limited by the background return process. Seems to return a string from what I am printing on the simulator... or are you suggesting I add to an array in the background and then pass the array in the exit() method? That would pass an array? 

  • You can return an array from the background.  If the elements are floats, it may even take less memory that a comma separated string.

  • Awesome. So retrieve the background data, if null, add the first element and return, if not null, add on to end and return? Makes sense! Will give this a go!

    Thanks again, really appreciate all the help :) 

  • Ha, after all that, I realised I could do the depth check in the background process and just return the latest time stamp when I was "at a set depth" and didn't need to return any depth readings. Now working lovely! Thanks again Jim, you are awesome.