   float timer_value;
   int damping;
   boolean connections[TOTAL_NUM_OF_PINS];
+  float past_values[TOTAL_NUM_OF_PAST_VALUES];
 } 
 Pin;
 

      if(g_aPins[_iOutPinNum].connections[i])
      {
        iConnCount++;
        //fPinValSum += g_aPins[i].value;  
        fPinValSum += (g_aPins[i].value - g_aPins[i].input_min)/(g_aPins[i].input_max - g_aPins[i].input_min);  // Adding the Max/Min formula

       if( !g_aPins[_iOutPinNum].is_analog )
       {

//        g_aPins[i].timer_value = poTimerValue->valuefloat;
        
      aJsonObject *poDamping = aJson.getObjectItem(poPinVals, "damping");
      if (poDamping){
        g_aPins[i].damping = poDamping->valueint;
        Serial.print("poDamping->valueint: "); Serial.println(poDamping->valueint);
        Serial.print("poDamping->valuefloat: "); Serial.println(poDamping->valuefloat);
       // Serial.print("poDamping->valuestring: "); Serial.println(poDamping->valuestring);
      }
    }    
  }
}
