@tage hiya! I think your compare function could be shortened to
function CompareForSort(a,b) { return a-b; }
Also, MedianRead() should return the result so that the temperature can then be calculated.
@Manxome started
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
@tage hiya!
I think your compare function could be shortened to
Also, MedianRead() should return the result so that the temperature can then be calculated.