Sming Framework API
Sming - Open Source framework for high efficiency WiFi SoC ESP8266 native development with C++ language.
BMP180 Class Reference

Public Member Functions

void Initialize (void)
 
int GetUncompensatedTemperature ()
 
float CompensateTemperature (int uncompensatedTemperature)
 
long GetUncompensatedPressure ()
 
long CompensatePressure (long uncompensatedPressure)
 
float GetTemperature ()
 
long GetPressure ()
 
void SoftReset ()
 
uint8_t SetResolution (uint8_t sampleResolution, bool oversample)
 
void PrintCalibrationData ()
 
uint8_t EnsureConnected ()
 
const char * GetErrorText (int errorCode)
 

Public Attributes

uint8_t IsConnected
 

Protected Member Functions

void Write (int address, int byte)
 
uint8_t * Read (int address, int length)
 
void Read2 (int address, int length, uint8_t buffer[])