Skip to content

beanPeripheral not defined in bean.js #8

@vizkits

Description

@vizkits

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions