C# 클래스 CyrusBuilt.MonoPi.Components.Relays.RelayComponent

A component that is an abstraction of a relay.
상속: RelayBase
파일 보기 프로젝트 열기: cyrusbuilt/MonoPi

공개 메소드들

메소드 설명
RelayComponent ( ) : System

Initializes a new instance of the CyrusBuilt.MonoPi.Components.Relays.RelayComponent class. This is the default constructor.

RelayComponent ( IGpio pin ) : System

Initializes a new instance of the CyrusBuilt.MonoPi.Components.Relays.RelayComponent class with the CyrusBuilt.MonoPi.IO.GpioMem I/O pin to use.

메소드 상세

RelayComponent() 공개 메소드

Initializes a new instance of the CyrusBuilt.MonoPi.Components.Relays.RelayComponent class. This is the default constructor.
public RelayComponent ( ) : System
리턴 System

RelayComponent() 공개 메소드

Initializes a new instance of the CyrusBuilt.MonoPi.Components.Relays.RelayComponent class with the CyrusBuilt.MonoPi.IO.GpioMem I/O pin to use.
/// cannot null. ///
public RelayComponent ( IGpio pin ) : System
pin IGpio /// The I/O pin to use. ///
리턴 System