   {
     if( !g_aPins[i].is_input ) // Process output pins
     {
-      pinMode(i, OUTPUT);
+ //     pinMode(i, OUTPUT);
       if( g_aPins[i].is_analog ) // Process analog pins
       {
         analogWrite(i, getTotalPinAnalogValue(i)*ANALOG_OUT_MAX_VALUE );

  else
    g_aPins[_iPinNum].value = fPinValSum;
  
  Serial.print("Total Value: "); Serial.println(fPinValSum);
  
  return fPinValSum;
}

    g_abD[i] = false;
  for(i=0; i<TOTAL_NUM_Px; i++)
    g_aiP[i] = 0;   
*/
  // JSON protocol code
  initBoardState();

