public static void DeInitializePeripherals() { LedGreen.Write(true); TemperatureSampler.Dispose(); InitializeStorage(false); Clock.Dispose(); ThermoCouple.Dispose(); LedGreen.Write(false); }