智能照明系统APP-本地串口
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
LightingSystemApp-serial/.svn/pristine/a4/a4b01c559009ea11d58ff1ddf8e...

14 lines
210 B

3 years ago
exports = function() {
var arr = arguments;
var sum = 0;
var len = arr.length;
for (var i = 0; i < len; i++) {
sum += arr[i];
}
return sum / len;
};
module.exports = exports;