LPS22HH single file class Library for I2C

LPS22HH

#include "LPS22HH.h"

LPS22HH     BAROMETER(I2C_SDA,I2C_SCL);

void main()
{
   BAROMETER.begin();
    BAROMETER.Enable();

   while(1)
  {
     printf("%f hPa \r\n,BAROMETER.GetPressure());
  }
}
Download repository: zip gz

Files at revision 0:b74c7741e608

Name Size Actions
[up]
LPS22HH.cpp 38651 Revisions Annotate
LPS22HH.h 14963 Revisions Annotate