public static void DisposeAll() { AnalogInput.DisposeActive(); DigitalInput.DisposeActive(); DigitalInterrupt.DisposeActive(); DigitalOutput.DisposeActive(); PwmOutput.DisposeActive(); }