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

Add single read function that call back with error and object with 2 types #1

Open
rzr opened this issue Jan 12, 2020 · 1 comment
Open

Comments

@rzr
Copy link

rzr commented Jan 12, 2020

This would make easier to support higher level API.

May this be investigated after integration on current version is done into:

rzr/generic-sensors-lite#13

@rzr
Copy link
Author

rzr commented Jan 15, 2020

Also handle errors in callbacks , see
https://github.com/bbx10/node-htu21d/blob/master/index.js#L80

#4

cc: @Dror

@rzr rzr changed the title Add single read function that return object with 2 types Add single read function that call back with error and object with 2 types Jan 15, 2020
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

1 participant