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


  if( g_luiCounter%100 == 0)
  {
    Serial.println("NEW CODE - WTF");
/*
    unsigned char buf[LWS_SEND_BUFFER_PRE_PADDING + 512 + LWS_SEND_BUFFER_POST_PADDING];
    unsigned char *p = &buf[LWS_SEND_BUFFER_PRE_PADDING];

  {
    g_aPins[i].is_analog = false;
    g_aPins[i].is_input = false;
    g_aPins[i].sensitivity = 0.5;
    g_aPins[i].is_inverted = false;
    g_aPins[i].is_visible = true;
  }

  // Initialize pins A0-A5 as analog in pins
