haustorial/prosthesis_controller/barometer.h

16 lines
327 B
C
Raw Permalink Normal View History

2024-09-12 09:23:52 +00:00
#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