Switched to the latest API. Now no zero values.
prevent the 'readSensorData' function from returning NaN value.