-
Are you sure that above is the correct source code? The one you actually tested? It seems to me that the int and hex output are the same values. So let's concentrate on the hex one, only. In that case it seems as if what you are outputting is
jsConsolePrintf("%d", in[i] + i);
Does that ring a bell? Are you somewhere modifying the in array? Otherwise it would be an extremely odd bug of jsiConsolePrintf. One which adds an increasing number for each call. And which resets itself which you switch from %d to %x... Unlikely...
output:
The array of hex should be the equivalence of ascii: {"PH":["Result",5.5],"EC":["Result",700],"ResTemp":["Result",137.5]}
However I am still not receiving the correct ascii.