     print_data_json(); 
     print_counter = 0;
   }
-}
-//------------------------------------------------------------------------------------------------------
+*/  
+}
+//------------------------------------------------------------------------------------------------------

  lpf_in_amps.Init();

  state_switch(MODE_OFF);                     // start with charger state as off
  //state_switch(MODE_CONST_VOLT, 300);                       // start with charger state as off
}

//------------------------------------------------------------------------------------------------------

    //state_switch(MODE_CONST_VOLT, current_target);
  }*/

/*  
  // diagnosistic prints
  static int print_counter = 0;
  print_counter++;
