fuck this
Dependencies: BMP280
Diff: Sampling.h
- Revision:
- 5:bea93c8e50b7
- Parent:
- 4:2e6d9492b76d
- Child:
- 6:8e1795a5886b
--- a/Sampling.h Tue Jan 02 12:47:08 2018 +0000 +++ b/Sampling.h Tue Jan 02 13:29:00 2018 +0000 @@ -1,6 +1,18 @@ #ifndef __Sampling__ #define __Sampling__ +#ifdef BME +#include "BME280.h" +#else +#include "BMP280.h" +#endif + +#ifdef BME +extern BME280 sensor; +#else +extern BMP280 sensor; +#endif + void SampleTimerISR(void); //Called by ticker. Calls the sample funcs of each device by flagging the threads @@ -8,6 +20,6 @@ //Setup Interrupts and Threads void InitiateHW(void); - +// #endif \ No newline at end of file