Files

copied
Last update 6 years 7 months by stonetronics
Filessoftwareesp8266_d1mini_weather_station_v2
..
HP03S.cpp
HP03S.h
esp8266_d1mini_weather_station_v2.ino
HP03S.h
#ifndef HP03S_H #define HP03S_H #include <Arduino.h> #include <Wire.h> // #define HP03S_H_DEBUG class HP03S { public: HP03S(int xclr, int mclk); void begin(); void printParameters(); float getPressure(); float getPressureAtSeaLevel(double height); float getTemperature(); void measureAndCalcData(); private: int _xclr; int _mclk; unsigned char _readParams[18]; float _pressure; float _temperature; void _getParameters(); float _readAD(short Mode); }; #endif
Report a bug