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:
2018-03-05
Revision:
5:4807f549aada
Parent:
3:78ceda8ef565

File content as of revision 5:4807f549aada:


#include "mbed.h"
#include "nrf52_digital.h"

class MPL115A1{
    public:
        MPL115A1(SPI &spi, NRF52_DigitalOut &cs);
        float getPressure();
    private:
        SPI &spi;
        NRF52_DigitalOut &cs;
        float getA0();
        float getB1();
        float getB2();
        float getC12();
        uint16_t getPadc();
        uint16_t getTadc();
};