智能照明系统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/79/793a42df7bd4c2e1a4c0dfb922d...

12 lines
233 B

3 years ago
exports = function(words) {
var bytes = [];
for (var b = 0, len = words.length * 32; b < len; b += 8) {
bytes.push((words[b >>> 5] >>> (24 - (b % 32))) & 0xff);
}
return bytes;
};
module.exports = exports;