Closed luigif closed 10 years ago
Unfortunately, I'm away from home (where my galileo is) until later this week, but a patch is certainly welcome and I will review and test as soon as possible.
Note to self: https://communities.intel.com/message/221298#thread-message-221374
Looks like another one: fs: missing callback Error: EINVAL, write I was using digitalWrite() when it came out. Node v0.10.25 ; NPM v1.3.24
Any updates as to when a patch will be available ?. Itching to test some Galileo use cases with node.js..
Whoops, completely forgot about this, thanks for the reminder. I'll push a patch tomorrow AM
Many thanks! On Apr 30, 2014, at 6:25 PM, Rick Waldron notifications@github.com wrote:
Whoops, completely forgot about this, thanks for the reminder. I'll push a patch tomorrow AM
— Reply to this email directly or view it on GitHub.
no-op'ing the callbacks should be sufficient. Let me know if there are any issues.
Galileo is in the office. Will try it first thing tomorrow! On Apr 30, 2014 7:20 PM, "Rick Waldron" notifications@github.com wrote:
no-op'ing the callbacks should be sufficient. Let me know if there are any issues.
— Reply to this email directly or view it on GitHubhttps://github.com/rwaldron/galileo-io/issues/3#issuecomment-41873642 .
Fixed! Should have read the article by Sergey Kiselev on the GPIO to pin mappings. Wasted an hour trying it via filesystem shell commands before I realized the pin # to sysfs GPIO # - Anyway, tried galileo-io and got the blinking LED going right away.
Anyway, tried galileo-io and got the blinking LED going right away.
Awesome!
I'm certain there will be bugs—I haven't had as much time as I'd like to put it through the paces, so please file them when you find them :)
Will do! On May 2, 2014 7:41 AM, "Rick Waldron" notifications@github.com wrote:
Anyway, tried galileo-io and got the blinking LED going right away.
Awesome!
I'm certain there will be bugs—I haven't had as much time as I'd like to put it through the paces, so please file them when you find them :)
— Reply to this email directly or view it on GitHubhttps://github.com/rwaldron/galileo-io/issues/3#issuecomment-42038835 .
Using the library with a recent version of node.js returns many fs errors, like:
fs: missing callback Error: ENOENT, open '/sys/class/gpio/gpio40/drive'
This is due to fs module functions now requiring a callback (https://github.com/joyent/node/issues/5005)