   char cmd = '\0';
   int i, serAva;
   char inputBytes[60] = { 
-    '\0'           };
+    '\0'               };
   char * inputBytesPtr = &inputBytes[0];
   // read command from serial
   serAva = Serial.available();

 *  #D<integer>, sets the sensitivity in mV of the current sensor [default is 185]
 *  #R, resest the configuration to the defaults
 *  #F<feed>, sets the feed id [default is 0]
 *  #K<key>, sets the COSM authentication key [default is -]
 *  #H, sets the remote host ip address [default is 216.52.233.121 (Cosm)]
 *  #O, sets the remote host port [default is 80]
 *
 * No updates are sent over the Ethernet interface if the feed id is set to 0
 *
 * Serial putput:
 *   #Energino,0,<voltage>,<current>,<power>,<relay>,<period>,<samples>,<ip>,<port>,<host>,<port>,<feed>,<key>
 *
 * RESTful interface: 
 *  This sketch accepts HTTP requests in the form GET /<cmd>/<param>/[value], where "cmd" 

  int sensitivity;
  byte mac[6];
  char apikey[49];
  long feedid;
  IPAddress host;
  long port;
} 
