CyrusBuilt.MonoPi.IO.GpioMem.Destroy C# (CSharp) 메소드

Destroy() 공개 정적인 메소드

Destroy this GPIO factory.
public static Destroy ( ) : void
리턴 void
		public static void Destroy() {
			if (ExportedPins != null) {
				if (ExportedPins.Count > 0) {
					foreach (Int32 pin in ExportedPins.Keys) {
						internal_UnexportPin(pin, pin.ToString());
					}
					ExportedPins.Clear();
				}
			}
			UnsafeNativeMethods.bcm2835_close();
		}
		#endregion