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());
  }
}

History

Single file LPS22HH class default tip

2021-04-14, by gpmbed [Wed, 14 Apr 2021 16:15:25 +0000] rev 0

Single file LPS22HH class