code: function (cb) {
          var sServoReadings = [];
          var read = setInterval(function () {
            sServoReadings.push(sonar.cm);
            if (sServoReadings.length === 10) {
              clearInterval(read);
              console.log(array.avg(sServoReadings));
              cb(null, array.avg(sServoReadings));
            }
          }, 100);
        }
docs: ds.on('x:release', function (data) { stop(); });