Driver for Freescale MPL3115A2 Pressure/Altitude Sensor#2123
Driver for Freescale MPL3115A2 Pressure/Altitude Sensor#2123PeterKietzmann merged 2 commits intoRIOT-OS:masterfrom jfischer-no:pr@mpl3115a2
Conversation
drivers/include/mpl3115a2.h
Outdated
There was a problem hiding this comment.
What about the documentation for the return value?
|
The temperature is ~250 |
|
Same as for your other drivers, waiting for |
|
Needs squashing. Take care of the word "fix" in the final commit message. Also here we should maybe wait until #2059 is merged. |
|
And please eliminate doxygen warnings: |
|
Thanks for testing. |
|
Getting rid of floats wherever possible sounds good for me. |
|
I only get |
|
Did you comment out |
|
So, the first x measurements are always failing? But, yes, after removing this I get sensible results. |
|
OT: Can we please rename the PR to something more descriptive? I get confused everytime I get notified about this PR. |
|
@PeterKietzmann At the moment I do not see any possibility to get vtimer working. I hope using of hwtimer instead of vtimer in test application is ok. Can you test it please. (you need 9cec32b). |
tests/driver_mpl3115a2/main.c
Outdated
There was a problem hiding this comment.
remove tab and align "correctly"
|
This works. For me it is okay to use |
|
Yes, do so. If someone is against that: please tell us now! Otherwise we'll do a PR that changes to vtimer when is exists. |
|
|
|
Ready to go. |
|
okay, go |
Driver for Freescale MPL3115A2 Pressure/Altitude Sensor
This PR add support for Freescale MPL3115A2 Pressure/Altitude Sensor.
This driver only implements pressure and temperature measurement functionality.