 }
 
 void loop() {
-  float moisvalue = sensor.getCapacitance()
-  float tempvalue = sensor.getTemperature()/(float)10
+  float moisvalue = sensor.getCapacitance();
+  float tempvalue = sensor.getTemperature()/(float)10;
   
   String s_moisvalue = String(moisvalue);
   String s_tempvalue = String(tempvalue);

#include <I2CSoilMoistureSensor.h>

I2CSoilMoistureSensor sensor;


  
  sensor.begin(); // reset sensor
  delay(1000); // give some time to boot up
  String address = String(sensor.getAddress());
  String version = String(sensor.getVersion());

  // publish sensors info
  Particle.publish("setup", "I2C Soil Moisture Sensor Address: " + address, 300, PRIVATE);
