bean-io icon indicating copy to clipboard operation
bean-io copied to clipboard

beanPeripheral not defined in bean.js

Open vizkits opened this issue 10 years ago • 0 comments

At bean.js#L53, the beanPeripheral is not defined anymore as before. Should it be defined in discover like this? self.beanPeripheral = bean._peripheral;

or to disconnect connectedBean instead in exitHandler()?

Also at bean.js#L30, the callabck of setColor does not seem to pass an error value. The 'err' is always 'undefined'.

Thanks so much!

vizkits avatar May 15 '15 15:05 vizkits