aconno acnsensa project for iOS devices with iBeacon packets support.
Dependencies: LSM9DS1 Si7006A20 aconno_SEGGER_RTT aconno_bsp adc52832_common
MPL115A1/MPL115A1.h@3:78ceda8ef565, 2018-03-02 (annotated)
- Committer:
- Dautor
- Date:
- Fri Mar 02 12:37:27 2018 +0000
- Revision:
- 3:78ceda8ef565
- Parent:
- 1:326ce5e200fb
- Child:
- 5:4807f549aada
Made naming be more consistent
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 | 1:326ce5e200fb | 12 | }; |
Dautor | 1:326ce5e200fb | 13 |