 aJsonObject* getJsonBoardState()
 {
 
+  char buff[100];
+  
   aJsonObject* poJsonBoardState = aJson.createObject();
 
   // Creating status JSON object

  {
    g_aPins[i].is_analog = false;
    g_aPins[i].is_input = false;
  }

  // Initialize pins A0-A5 as analog in pins

  char label[PIN_LABEL_SIZE];
  int is_analog;
  int is_input;
  float sensitivity;
  int is_inverted;
  int is_visible;
  float value;
  boolean connections[TOTAL_NUM_OF_PINS];
} 
Pin;

  /*
  {"status":<OK,ERROR>,  "pins":{"<0,1,…,13,A0,…,A5>":  {
  "label":"<label text>",  
	"is_analog":"<true,false>",  
	"is_input":"<true,false>", 
“sensitivity”:”<0.0,1.0>”, 
“is_inverted”:”<true,false>”, 
“is_visible”:”<true,false>”,
"value":"<0.0,1.0>",  },  ...,  }, 
"connections":[ {"source":"<0,1,…,13,A0,…,A5>","target":"<0,1,…,13,A0,…,A5>",”is_connected”:”<true,false>”},  ...,  ]  }
  */


Pin g_aPins[TOTAL_NUM_OF_PINS];

