You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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 toSerialPort
constructor) is simplyCOM1
,COM2
etc., which is the name of the COM port that the driver is using (also see this related thread on usingCreateFile
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.
The text was updated successfully, but these errors were encountered: