Hi,
I'm trying to control two Sphero SPRK+ robots using JS. I use the cylon-sphero-ble module, which works great for 1 sprk+, but if I try to make two connections, it just gets stuck at "Starting connections". I've attached my Javasript code and the command window output. i'm using a usb 4.0 dongle
This is the code I use. If I comment out the second connection 'bluetooth2' and the second device, it works fine
In my command window, the following shows up, but it doesn't continue to 'Starting devices':
`C:\Users\robbe_000\Desktop\noble-master\noble-master\Sphero>node cylontest2.js
I could not make multiple Sprk+s work with cylon. I ended up using https://github.com/orbotix/sphero.js and at some point I had two Sprk+s were running fine with it.
Hi, I'm trying to control two Sphero SPRK+ robots using JS. I use the cylon-sphero-ble module, which works great for 1 sprk+, but if I try to make two connections, it just gets stuck at "Starting connections". I've attached my Javasript code and the command window output. i'm using a usb 4.0 dongle
This is the code I use. If I comment out the second connection 'bluetooth2' and the second device, it works fine
In my command window, the following shows up, but it doesn't continue to 'Starting devices': `C:\Users\robbe_000\Desktop\noble-master\noble-master\Sphero>node cylontest2.js
2017-11-01T13:31:08.196Z : [Robot 1] - Starting connections.
2017-11-01T13:31:08.198Z : [Robot 1] - Starting connection 'bluetooth'.
2017-11-01T13:31:08.199Z : [Robot 1] - Starting connection 'bluetooth2'.`
Does anyone know how to fix this? Thanks in advance!