Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: LSM9DS1 Si7006A20 aconno_SEGGER_RTT aconno_bsp adc52832_common
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
Generated on Fri Jul 15 2022 07:56:49 by
1.7.2