MPL115A1 sensor library
Diff: MPL115A1.h
- Revision:
- 2:97c80e1c0ab2
- Parent:
- 1:3b754d29069f
diff -r 3b754d29069f -r 97c80e1c0ab2 MPL115A1.h --- a/MPL115A1.h Wed Dec 12 18:56:02 2018 +0100 +++ b/MPL115A1.h Wed Dec 12 19:26:04 2018 +0100 @@ -3,18 +3,17 @@ */ #include "mbed.h" -#include "nrf52_digital.h" #ifndef __MPL115A1_H__ #define __MPL115A1_H__ class MPL115A1{ public: - MPL115A1(SPI &spi, NRF52_DigitalOut &cs); + MPL115A1(SPI &spi, DigitalOut &cs); float getPressure(); private: SPI &spi; - NRF52_DigitalOut &cs; + DigitalOut &cs; float getA0(); float getB1(); float getB2();