ecto / duino

:bulb: Arduino framework for node.js
958 stars 214 forks source link

events.js:2725: Uncaught Error: Cannot open /dev/usbdev5.1 #41

Closed poul-kg closed 11 years ago

poul-kg commented 11 years ago

Hi,

just installed duino module

Here is my script

var arduino = require('duino'),
    board = new arduino.Board();

var led = new arduino.Led({
  board: board,
  pin: 13,
  debug: true
});

led.blink();

Here is the output

$ node duino-1.js
events.js:2725: Uncaught Error: Cannot open /dev/usbdev5.1

My Env: Ubuntu 12.04 LTS on MK803 mini PC (ARM), Node v0.8.14

How can I fix this?

poul-kg commented 11 years ago

Solution

chmod 666 /dev/usbdev5.1
dftpnd commented 10 years ago

i have error: events.js:2817: Uncaught Error: Cannot open /dev/usb ubuntu 13.04 help me please

abodurka commented 10 years ago

Hey Poul-KG I'm having the same issue running on 12.04LTS. What exactly did you do to solve this? Could you reply with a more detailed response please??