使用Johnny five控制Arduino巨型坡道1.4

使用Johnny five控制Arduino巨型坡道1.4,arduino,johnny-five,Arduino,Johnny Five,我想用强尼五号的盾牌控制a。 我将标准Firmata上传到Arduino板,并尝试运行以下代码: var five = require('johnny-five'); var board = new five.Board(); board.on('ready',function(){ console.log('Board is ready'); }); 我的错误: 1448365609699 Device(s) COM3,COM5 1448365609707 Connected COM3

我想用强尼五号的盾牌控制a。
我将标准Firmata上传到Arduino板,并尝试运行以下代码:

var five = require('johnny-five');
var board = new five.Board();
board.on('ready',function(){
   console.log('Board is ready');
});
我的错误:

1448365609699 Device(s) COM3,COM5
1448365609707 Connected COM3
1448365619710 Device or Firmware Error A timeout occurred while connecting to the Board.
Please check that you've properly flashed the board with the correct firmware.
See: https://github.com/rwaldron/johnny-five/wiki/Getting-Started#trouble-shooting
enter code here
events.js:146
  throw err;
  ^
Error: Uncaught, unspecified "error" event. ([object Object])
at Board.emit (events.js:144:17)
at Board.log (C:\Users\Digital Hammer\Documents\Electric lab playground\test\node_modules\johnny-five\lib\board.js:633:8)
at Board.(anonymous function) [as error] (C:\Users\Digital Hammer\Documents\Electric lab playground\test\node_modules\johnny-five\lib\board.js:644:14)
at Board.<anonymous> (C:\Users\Digital Hammer\Documents\Electric lab playground\test\node_modules\johnny-five\lib\board.js:414:14)
at Timer.listOnTimeout (timers.js:92:15)
1448365609699设备COM3、COM5
1448365609707已连接COM3
1448365619710设备或固件错误连接到板时发生超时。
请检查您是否已使用正确的固件正确闪存了电路板。
见:https://github.com/rwaldron/johnny-five/wiki/Getting-Started#trouble-射击
在这里输入代码
events.js:146
犯错误;
^
错误:未捕获、未指定的“错误”事件。([对象])
在Board.emit(events.js:144:17)
在Board.log(C:\Users\Digital Hammer\Documents\Electric lab played\test\node\u modules\johnny five\lib\Board.js:633:8)
板上。(匿名函数)[作为错误](C:\Users\Digital Hammer\Documents\Electric lab playerd\test\node\u modules\johnny five\lib\Board.js:644:14)
在船上。(C:\Users\Digital Hammer\Documents\Electric lab playway\test\node\u modules\johnny five\lib\board.js:414:14)
在Timer.listOnTimeout(timers.js:92:15)
有人知道为什么它不起作用吗

var five = require('johnny-five');
var board = new five.Board({
port :"com5"
});
board.on('ready',function(){
console.log('Board is ready');
});

js文件未连接到正确的端口。我需要将其设置为COM5。

愚蠢的问题,但是。。什么是arduino巨型com端口?它是com5。我现在看到了一个问题。Com3已连接好,看起来它正试图在com5上访问它,因此在查找其他错误之前,应先修复此问题