C# 클래스 CyrusBuilt.MonoPi.Devices.PiFace.PiFaceDevice

PiFace device abstraction.
상속: PiFaceBase
파일 보기 프로젝트 열기: cyrusbuilt/MonoPi

공개 메소드들

메소드 설명
Dispose ( ) : void

Releases all resource used by the CyrusBuilt.MonoPi.Devices.PiFace.PiFaceDevice object.

Call Dispose when you are finished using the CyrusBuilt.MonoPi.Devices.PiFace.PiFaceDevice. The Dispose method leaves the CyrusBuilt.MonoPi.Devices.PiFace.PiFaceDevice in an unusable state. After calling Dispose, you must release all references to the CyrusBuilt.MonoPi.Devices.PiFace.PiFaceDevice so the garbage collector can reclaim the memory that the CyrusBuilt.MonoPi.Devices.PiFace.PiFaceDevice was occupying.

PiFaceDevice ( AdcChannels channel, Int32 speed ) : System

Initializes a new instance of the CyrusBuilt.MonoPi.Devices.PiFace.PiFaceDevice class wtih the SPI channel and speed used to communicate with the PiFace.

메소드 상세

Dispose() 공개 메소드

Releases all resource used by the CyrusBuilt.MonoPi.Devices.PiFace.PiFaceDevice object.
Call Dispose when you are finished using the CyrusBuilt.MonoPi.Devices.PiFace.PiFaceDevice. The Dispose method leaves the CyrusBuilt.MonoPi.Devices.PiFace.PiFaceDevice in an unusable state. After calling Dispose, you must release all references to the CyrusBuilt.MonoPi.Devices.PiFace.PiFaceDevice so the garbage collector can reclaim the memory that the CyrusBuilt.MonoPi.Devices.PiFace.PiFaceDevice was occupying.
public Dispose ( ) : void
리턴 void

PiFaceDevice() 공개 메소드

Initializes a new instance of the CyrusBuilt.MonoPi.Devices.PiFace.PiFaceDevice class wtih the SPI channel and speed used to communicate with the PiFace.
public PiFaceDevice ( AdcChannels channel, Int32 speed ) : System
channel AdcChannels /// The SPI channel. ///
speed System.Int32 /// The SPI speed. ///
리턴 System