读取Beagle bone Black上的模拟引脚

时间:2014-03-16 18:04:24

标签: javascript

我正在BeagleBoneBlack上同时阅读3个模拟端口。经过15次迭代后,它会出现以下错误 -

fs.js:381
  var r = binding.read(fd, buffer, offset, length, position);
                  ^
Error: EAGAIN, no more processes
    at Object.fs.readSync (fs.js:381:19)
    at Object.fs.readFileSync (fs.js:208:28)
    at Object.f.analogRead (/usr/lib/node_modules/bonescript/index.js:397:28)
    at Timer.cal (/var/lib/cloud9/Untitled2:15:15)
    at Timer.exports.setInterval.timer.ontimeout (timers.js:234:14)

如何删除此错误?

0 个答案:

没有答案