Skip to content
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

Cannot use on Windows: board.js hard-coded *nix paths #57

Open
Domiii opened this issue Mar 17, 2015 · 1 comment
Open

Cannot use on Windows: board.js hard-coded *nix paths #57

Domiii opened this issue Mar 17, 2015 · 1 comment

Comments

@Domiii
Copy link

Domiii commented Mar 17, 2015

Since board.js is trying to open a device from the *nix /dev folder, this library cannot possibly work on Windows.

On Windows, the path (the first argument to SerialPort constructor) is simply COM1, COM2 etc., which is the name of the COM port that the driver is using (also see this related thread on using CreateFile to open a serial port communication channel).

Once the path is correct, things work as expected. Very awesome!

In the long term, I would recommend a general-purpose config that allows for the path to be user-selected, or, if supported on the system, to be looked up automatically.

@anno143
Copy link

anno143 commented Mar 26, 2016

You can use win-duino, if you want to use duino on windows.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants