   sm.tempSoilF = sm.tempSoilC*9/5+32;
 }
 
-void sendToKeen(struct my_airmeasurement, int lightResistor, struct my_soilmeasurement) {  
+void sendToKeen() {  
   String my_output = "{";
   my_output += "\"AppId\":\"";
   my_output += appId;

  Console.flush();
}

void outputEvent(struct my_airmeasurement, int lightResistor, struct my_soilmeasurement) {  
  String my_output = "";
  my_output += "AppId:";
  my_output += appId;

  getSoilMeasurements();
  readLightResistor();
  readMoistureSensor();
  outputEvent();
  sendToKeen();

  // We run this once a minute, approximately
  delay(60000);
