 }
 
 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);

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

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

// This #include statement was automatically added by the Particle IDE.
#include "I2CSoilMoistureSensor/I2CSoilMoistureSensor.h"

I2CSoilMoistureSensor sensor;

