Tempreature and pressure sensors from MetaWear
in C++
Hi Team,
Is there any documentation which I can use to access data from the pressure and temp sensors using python ? Any indication will help. Also wanted to see if I could access luminosity etc. couldnt find any documenration.
This discussion has been closed.
Comments
https://mbientlab.com/cppdocs/latest/sensors.html
Thanks Eric, any documentation regarding using Python ?
As stated in the README:
You call the same functions in Python as you do with the C++ library. Look at some of the example scripts for demos.
https://github.com/mbientlab/MetaWear-SDK-Python/tree/master/examples
thanks ! helps !
on side note, my Metawear has suddenly stopped to communicate throwing following error
Which device do you want to connect to? 12
2018-08-13 18:54:15,112 DEBUG Added a logging handler to logger: pymetawear
2018-08-13 18:54:15,118 INFO Creating MetaWearClient for E4:68:65:A6:66:B9...
2018-08-13 18:54:15,129 DEBUG Client started for BLE device E4:68:65:A6:66:B9...
error 1534186455.138324: Error on line: 296 (src/blestatemachine.cc): Connection refused
terminate called after throwing an instance of 'BLEPP::SocketConnectFailed'
what(): Connection refused
Aborted
Create a new thread for your connection issue if you haven't yet resolved it.