Jurica Resetar / Mbed OS iBeacon acnsensa

Dependencies:   LSM9DS1 Si7006A20 aconno_SEGGER_RTT aconno_bsp adc52832_common

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers MPL115A1.h Source File

MPL115A1.h

00001 
00002 #include "mbed.h"
00003 #include "nrf52_digital.h"
00004 
00005 class MPL115A1{
00006     public:
00007         MPL115A1(SPI &spi, NRF52_DigitalOut &cs);
00008         float getPressure();
00009     private:
00010         SPI &spi;
00011         NRF52_DigitalOut &cs;
00012         float getA0();
00013         float getB1();
00014         float getB2();
00015         float getC12();
00016         uint16_t getPadc();
00017         uint16_t getTadc();
00018 };
00019