          else
            fPinValSum = 0.0;
        }
-        /*
-        Serial.print(i); Serial.print(" --> "); Serial.println(_iOutPinNum);
-        Serial.print(" Min: "); Serial.println(g_aPins[i].input_min);
-        Serial.print(" Max: "); Serial.println(g_aPins[i].input_max);
-        Serial.print(" Value: "); Serial.println(g_aPins[i].value);
-        Serial.print(" Scales value: "); Serial.println(g_aPins[i].value - g_aPins[i].input_min)/(g_aPins[i].input_max - g_aPins[i].input_min);        
-        Serial.print(" -fPinValSum: "); Serial.println(fPinValSum);
-        */
       }    
     } 
   }

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

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

