GHIElectronics.UAP.Shields.FEZHAT.Dispose C# (CSharp) Method

Dispose() protected method

Disposes of the object releasing control the pins.
protected Dispose ( bool disposing ) : void
disposing bool Whether or not this method is called from Dispose().
return void
        protected virtual void Dispose(bool disposing) {
            if (!this.disposed) {
                if (disposing) {
                    this.pwm.Dispose();
                    this.analog.Dispose();
                    this.accelerometer.Dispose();
                    this.motorEnable.Dispose();
                    this.dio16.Dispose();
                    this.dio26.Dispose();
                    this.dio24.Dispose();
                    this.dio18.Dispose();
                    this.dio22.Dispose();

                    this.MotorA.Dispose();
                    this.MotorB.Dispose();
                }

                this.disposed = true;
            }
        }

Same methods

FEZHAT::Dispose ( ) : void