16 lines
No EOL
327 B
C
16 lines
No EOL
327 B
C
#ifndef BAROMETER_H_
|
|
#define BAROMETER_H_
|
|
|
|
|
|
#include <Wire.h>
|
|
#include <SPI.h>
|
|
#include <Adafruit_BMP280.h> //Adafruit BMP280 Library by Adafruit 2.6.8
|
|
|
|
#define BAROMETER_UPDATE_INTERVAL 1000/5
|
|
|
|
void initBarometer();
|
|
void loopBarometer(unsigned long millis);
|
|
float getBarometerHeight();
|
|
float getBarometerTemperature();
|
|
|
|
#endif |