aconno acnsensa project for iOS devices with iBeacon packets support.

Dependencies:   LSM9DS1 Si7006A20 aconno_SEGGER_RTT aconno_bsp adc52832_common

MPL115A1/MPL115A1.h

Committer:
dbartolovic
Date:
2018-08-17
Branch:
sensaformatfix
Revision:
38:c90e1670ffb3
Parent:
5:4807f549aada

File content as of revision 38:c90e1670ffb3:


#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();
};