   return fahrenheit;
 }
 
-//im sure there is a better way, consider a timeout? 
-//we'll need to check for missed or overwritten data 
-//because this might take to long
+/* Im sure there is a better way, consider a timeout? 
+ * we'll need to check for missed or overwritten data 
+ * because this might take to long
+ */
 void SendData(){
   if(bufferCounter >= 64){
     SendBuffer(plantLightBuffer);


uint8_t bufferCounter = 1;

bool plantLightOn = false;
bool aquaLightOn = false;

unsigned long lightInterval = 12;
unsigned long lastTime = millis();
bool powerIsOn = false;

uint8_t incomingByte;

void setup() {
  Serial.begin(9600);
  plantLightBuffer[0] = 1791;

#define targetTurbidity 0
#define turbidityVarience 0

//sensor readings
float aquaLightReading = 0.0;
float plantLightReading = 0.0;
float waterTempReading = 0.0;
float waterTurbReading = 0.0;

//buffers to hold sensor data
uint16_t plantLightBuffer[64];
uint16_t aquaLightBuffer[64];
uint16_t tempBuffer[64];
