noduino
noduino copied to clipboard
Cannot connect to arduino
Set up: Ubuntu 12.04, node v0.8.1, arduino uno It tries to connect to /dev/usbmon0 where as uno is on /dev/ttyACM0
I'm on the same setup -- maybe that's why I have failed to connect so far.
Quick & Dirty fix:
duino loops through all usb devices, searching for an arduino using ls /dev | grep usb
.
To fix this, edit board.js
vim duino/lib/board.js
On line 80
, change 'ls /dev | grep usb'
to 'ls /dev | grep ACM'
.
Note: Not recommended but works for now. Hope @ecto fixes https://github.com/ecto/duino/issues/2 soon!
A better way to do this without loosing results is:
'ls /dev | grep -e usb -e USB -ACM'
thans very much, work