aconno acnsensa project for iOS devices with iBeacon packets support.
Dependencies: LSM9DS1 Si7006A20 aconno_SEGGER_RTT aconno_bsp adc52832_common
MPL115A1/MPL115A1.h@38:c90e1670ffb3, 2018-08-17 (annotated)
- Committer:
- dbartolovic
- Date:
- Fri Aug 17 10:45:24 2018 +0000
- Branch:
- sensaformatfix
- Revision:
- 38:c90e1670ffb3
- Parent:
- 5:4807f549aada
Added service advertisement to telemetry data
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
Dautor | 1:326ce5e200fb | 1 | |
Dautor | 1:326ce5e200fb | 2 | #include "mbed.h" |
Dautor | 1:326ce5e200fb | 3 | #include "nrf52_digital.h" |
Dautor | 1:326ce5e200fb | 4 | |
Dautor | 1:326ce5e200fb | 5 | class MPL115A1{ |
Dautor | 1:326ce5e200fb | 6 | public: |
Dautor | 1:326ce5e200fb | 7 | MPL115A1(SPI &spi, NRF52_DigitalOut &cs); |
Dautor | 1:326ce5e200fb | 8 | float getPressure(); |
Dautor | 1:326ce5e200fb | 9 | private: |
Dautor | 1:326ce5e200fb | 10 | SPI &spi; |
Dautor | 1:326ce5e200fb | 11 | NRF52_DigitalOut &cs; |
Dautor | 5:4807f549aada | 12 | float getA0(); |
Dautor | 5:4807f549aada | 13 | float getB1(); |
Dautor | 5:4807f549aada | 14 | float getB2(); |
Dautor | 5:4807f549aada | 15 | float getC12(); |
Dautor | 5:4807f549aada | 16 | uint16_t getPadc(); |
Dautor | 5:4807f549aada | 17 | uint16_t getTadc(); |
Dautor | 1:326ce5e200fb | 18 | }; |
Dautor | 1:326ce5e200fb | 19 |