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.
MPL115A1.h
00001 /** 00002 * aconno.de 00003 */ 00004 00005 #include "mbed.h" 00006 00007 #ifndef __MPL115A1_H__ 00008 #define __MPL115A1_H__ 00009 00010 class MPL115A1{ 00011 public: 00012 MPL115A1(SPI &spi, DigitalOut &cs); 00013 float getPressure(); 00014 private: 00015 SPI &spi; 00016 DigitalOut &cs; 00017 float getA0(); 00018 float getB1(); 00019 float getB2(); 00020 float getC12(); 00021 uint16_t getPadc(); 00022 uint16_t getTadc(); 00023 }; 00024 00025 #endif // __MPL115A1_H__
Generated on Thu Aug 18 2022 13:14:04 by
1.7.2