aconno acnsensa project for iOS devices with iBeacon packets support.
Dependencies: LSM9DS1 Si7006A20 aconno_SEGGER_RTT aconno_bsp adc52832_common
MPL115A1/MPL115A1.h
- Committer:
- Dautor
- Date:
- 2017-12-13
- Revision:
- 1:326ce5e200fb
- Child:
- 3:78ceda8ef565
File content as of revision 1:326ce5e200fb:
#define a0_frac_bits 3 #define b1_frac_bits 13 #define b2_frac_bits 14 #define c12_frac_bits 22 #define a0_frac_mask 0x0007 #define b1_frac_mask 0x1FFF #define b2_frac_mask 0x3FFF #define c12_frac_mask 0x1FFF #include "mbed.h" #include "nrf52_digital.h" class MPL115A1{ public: MPL115A1(SPI &spi, NRF52_DigitalOut &cs); float getPressure(); private: SPI &spi; NRF52_DigitalOut &cs; };