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

Error: Serialport not open #59

Open
anno143 opened this issue Mar 26, 2016 · 1 comment
Open

Error: Serialport not open #59

anno143 opened this issue Mar 26, 2016 · 1 comment

Comments

@anno143
Copy link

anno143 commented Mar 26, 2016

I am running example sensor.js and getting following error:

`1458988219328 duino info attempting to find Arduino board
1458988219400 duino info set pin A0 mode to in
1458988219403 duino info serial not ready, buffering message: 00A0000
1458988219455 duino debug attempting to open serial conn.: ttyACM0
1458988219462 duino info found board at /dev/ttyACM0
1458988219464 duino info binding serial events
1458988219471 duino info analogRead from pin A0
1458988219472 duino write 04A0000

Error: Serialport not open.
at SerialPortFactory.SerialPort.write (/home/pi/SmartHome/node_modules/duino/node_modules/serialport/serialport.js:288:17)
at Board.write (/home/pi/SmartHome/node_modules/duino/lib/board.js:163:17)
at Board.analogRead (/home/pi/SmartHome/node_modules/duino/lib/board.js:235:7)
at null. (/home/pi/SmartHome/node_modules/duino/lib/sensor.js:17:16)
at wrapper as _onTimeout
at Timer.listOnTimeout as ontimeout`

I will appreciate your help

@gr67santafe
Copy link

maybe the baud is not right! set it carefully :)

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