-
Notifications
You must be signed in to change notification settings - Fork 226
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Error: Unable to connect] Opening \\.\/dev/: Unknown error code 3 #16
Comments
Maybe this helps: http://d.pr/i/UWKd This one occurs when I try to use the |
I'm having the exact same problem (on Windows). Any ideas? |
It appears to me that the library is not (yet) usable for Windows users. The |
Hi. I unknow how TAKE the error.
//Then I try take conditional: But NEVER I can take var ERROR (undefined)... Some Idea please? |
This doesn't work on Windows. I also tried using Ardugate, which is great for some simple demos and getting started I suppose... Eventually I moved to node-serialport (which does work on Windows), and manually send custom serial instructions to the arduino, then catch them in the board's loop() function to do stuff. |
Thanks Sarink. Iis different: --serialport --node-serialport --Ardugate ??? |
I'm sorry, but Noduino has never been tested on Windows. You could try running linux in a virtual machine or try updating (node-)serialport to a recent version ( You should have a look at https://github.com/semu/node-arduino-socket. It uses serialport as well, but is a way smaller project. If you can get this (https://github.com/semu/node-arduino-socket/blob/master/serial.js) working with an updated version of serialport you can get Noduino running as well. |
Sorry but I have serialport, version:
I only like TAKE the error of connection, as I say:
But NEVER the var ERROR change. Some idea about how I UPDATE the value of the var ERROR? THANKS ! |
var MySERIAL= new MySERIAL('COM666 or some other port FALSE', {baudrate:57600}).on('error', function(err){
// This function is called on error, so do your stuff here
// Maybe this function is never called, or maybe 2 seconds after startup
// You never know…
console.log(err);
// You can set variables here as well
var xyz = 1;
});
// But this won't work
console.log(xzy); |
yes, is CORRECT!
Can you paste here how is possible ??? Thanks |
I am creazy with this NODEJS...
How Is possible this!!!... |
Hi there,
I'm a beginner in Node and noduino, but it seems I have the whole thing set up correctly.
I can succesfully do this:
$ > git clone [email protected]:semu/noduino.git $ > cd noduino/ $ > git submodule update --init $ > npm install $ > cd examples/
But when I do
$ > node test.walkLED.js
I get
[Error: Unable to connect] events.js:2725: Uncaught error: Opening \\.\/dev/: Unknown error code 3
I have looked around but I can't find any thing about this error.
Do you have any idea about what the problem could be?
Cheers,
Jelmer
The text was updated successfully, but these errors were encountered: