C# Class CyrusBuilt.MonoPi.Devices.PiFace.PiFaceBase

Base class for PiFace device abstractions.
Inheritance: DeviceBase, IPiFace
Afficher le fichier Open project: cyrusbuilt/MonoPi

Méthodes publiques

Méthode Description
Dispose ( ) : void

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

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

Méthodes protégées

Méthode Description
PiFaceBase ( AdcChannels channel, Int32 speed ) : System

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

Method Details

Dispose() public méthode

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

PiFaceBase() protected méthode

Initializes a new instance of the CyrusBuilt.MonoPi.Devices.PiFace.PiFaceBase class wtih the SPI channel and speed used to communicate with the PiFace.
protected PiFaceBase ( AdcChannels channel, Int32 speed ) : System
channel AdcChannels /// The SPI channel. ///
speed System.Int32 /// The SPI speed. ///
Résultat System