             SerialUSB.println(arg);\
         }\
     } while(0)
-
-
 
 int loopcnt = 0;
 int errcnt = 0;

int soil_measure(void) {
  int val;

  digitalWrite(ledPin, HIGH);
  digitalWrite(powerPin, HIGH);
  delay(2000);
  val = analogRead(A2);
  digitalWrite(powerPin, LOW);
  digitalWrite(ledPin, LOW);
  return val;
}


  }

  
  if (wifi.writeln(request)) {
    logDebug("request sent with wifi.writeln(String), lrc = true");  
  } else {
    logDebug("request sent with wifi.writeln(String), lrc = false");      
  }
  uint32_t len = wifi.read(buffer, sizeof(buffer), 10000);
  if (len > 0) {
    logDebug((char *)buffer);
  } else {
    logDebug("<empty response>");
