dbridges / bmp085-sensor

An Node.js module to interface a BMP085 temperature and pressure sensor with the Raspberry Pi
Other
5 stars 4 forks source link

Read after calibration in a callback function #2

Closed rzr closed 5 years ago

rzr commented 6 years ago

The was no guarantee that sensor was calibrated, before it's actually used.

Problem was observed using iotjs using Raspbian on RPi0

Signed-off-by: Philippe Coval philippe.coval@osg.samsung.com

rzr commented 6 years ago

Just shared for feedback If ok don't merge I will update readme file before

If interested, there are other changes needed to use iotjs instead of nodejs (they are in other branch of: https://github.com/TizenTeam/bmp085)

Thanks

dbridges commented 6 years ago

@rzr Looks good. Go ahead and update the readme and I'll merge.

rzr commented 6 years ago

Updated, thx for feedback

more changes to come later for full iotjs support

BTW, check: https://github.com/dbridges/bmp085/issues

FYI, consider to use it for:

https://github.com/rzr/generic-sensors-lite

rzr commented 6 years ago

Review welcome

BTW, what any comment on:

https://github.com/dbridges/bmp085/issues/3