Hello all,
I have a problem that mystifies me. After I boot my BB, the first time I
try to issue an analogRead via node.js, I get the following error:
fs.js:549
return binding.open(pathModule._makeLong(path), stringToFlags(flags),
mode);
^
Error: ENOENT: no such file or directory, open
'/sys/bus/iio/devices/iio:device0/in_voltage0_raw'
at Error (native)
at Object.fs.openSync (fs.js:549:18)
at Object.fs.readFileSync (fs.js:397:15)
at Object.exports.readAIN
(/var/lib/cloud9/node_modules/bonescript/src/hw_mainline.js:211:30)
at Object.f.analogRead
(/var/lib/cloud9/node_modules/bonescript/src/index.js:271:19)
at null._repeat (/var/lib/cloud9/autorun/app.js:86:13)
at wrapper [as _onTimeout] (timers.js:275:11)
at Timer.listOnTimeout (timers.js:92:15)
When I run my app again, immediately without changing anything else, it
works fine. Any ideas?
Thanks in advance.
--Todd
--
For more options, visit http://beagleboard.org/discuss
---
You received this message because you are subscribed to the Google Groups
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/beagleboard/7c5a641a-57b7-44c6-9498-bcbd809550d4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.