fuck this

Dependencies:   BMP280

Revision:
21:6e733076f49c
Parent:
19:40c721f01ed2
--- a/Sampling.h	Tue Jan 09 11:53:11 2018 +0000
+++ b/Sampling.h	Tue Jan 09 20:51:19 2018 +0000
@@ -23,8 +23,7 @@
 #include "rtos.h"
 
 #define BUFFERSIZE 120
-#define SAMPLERATE 7
-
+extern unsigned short SAMPLERATE;
 
 //Thread Sync Tools
 extern Mutex tempReadingsLock;
@@ -58,12 +57,6 @@
 extern AnalogIn LDRSensor; //Input pin for LDR
 extern DigitalOut SamplingLED; //Onboard LED showing when a sample happens
 
-/*These can be deleted I think
-extern float fLatestTemp;
-extern float fLatestLDR;
-extern float fLatestPres;
-*/
-
 extern bool NewEnvSample;  //Is there new data from the envirom sensor to output?
 extern bool NewLDRSample;  //Is there new data from the LDR to output?