C# 클래스 CyrusBuilt.MonoPi.IO.PCA.PCA9685Pin

Provides all 16 PWM channels provided by the PCA9685 I2C 12-bit PWM LED/Servo controller.
상속: IPCA9685Pin
파일 보기 프로젝트 열기: cyrusbuilt/MonoPi

공개 프로퍼티들

프로퍼티 타입 설명
ALL IPCA9685Pin[]
PWM_00 IPCA9685Pin
PWM_01 IPCA9685Pin
PWM_02 IPCA9685Pin
PWM_03 IPCA9685Pin
PWM_04 IPCA9685Pin
PWM_05 IPCA9685Pin
PWM_06 IPCA9685Pin
PWM_07 IPCA9685Pin
PWM_08 IPCA9685Pin
PWM_09 IPCA9685Pin
PWM_10 IPCA9685Pin
PWM_11 IPCA9685Pin
PWM_12 IPCA9685Pin
PWM_13 IPCA9685Pin
PWM_14 IPCA9685Pin
PWM_15 IPCA9685Pin

공개 메소드들

메소드 설명
Dispose ( ) : void

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

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

PCA9685Pin ( ) : System

Initializes a new instance of the CyrusBuilt.MonoPi.IO.PCA.PCA9685Pin class. This is the default constructor.

PCA9685Pin ( Int32 address ) : System

Initializes a new instance of the CyrusBuilt.MonoPi.IO.PCA.PCA9685Pin class with the address of the pin.

PCA9685Pin ( Int32 address, String name ) : System

Initializes a new instance of the CyrusBuilt.MonoPi.IO.PCA.PCA9685Pin class with the address and name of the pin.

PCA9685Pin ( String provider, Int32 address, String name ) : System

Initializes a new instance of the CyrusBuilt.MonoPi.IO.PCA.PCA9685Pin class

ToString ( ) : String

Returns a System.String that represents the current CyrusBuilt.MonoPi.IO.PCA.PCA9685Pin.

비공개 메소드들

메소드 설명
CreatePwmPin ( Int32 channel, String name ) : IPCA9685Pin

Factory method for creating instances of this class.

메소드 상세

Dispose() 공개 메소드

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Call Dispose when you are finished using the CyrusBuilt.MonoPi.IO.PCA.PCA9685Pin. The Dispose method leaves the CyrusBuilt.MonoPi.IO.PCA.PCA9685Pin in an unusable state. After calling Dispose, you must release all references to the CyrusBuilt.MonoPi.IO.PCA.PCA9685Pin so the garbage collector can reclaim the memory that the CyrusBuilt.MonoPi.IO.PCA.PCA9685Pin was occupying.
public Dispose ( ) : void
리턴 void

PCA9685Pin() 공개 메소드

Initializes a new instance of the CyrusBuilt.MonoPi.IO.PCA.PCA9685Pin class. This is the default constructor.
public PCA9685Pin ( ) : System
리턴 System

PCA9685Pin() 공개 메소드

Initializes a new instance of the CyrusBuilt.MonoPi.IO.PCA.PCA9685Pin class with the address of the pin.
public PCA9685Pin ( Int32 address ) : System
address System.Int32 /// The pin address. ///
리턴 System

PCA9685Pin() 공개 메소드

Initializes a new instance of the CyrusBuilt.MonoPi.IO.PCA.PCA9685Pin class with the address and name of the pin.
public PCA9685Pin ( Int32 address, String name ) : System
address System.Int32 /// The pin address. ///
name String /// The name of the pin. ///
리턴 System

PCA9685Pin() 공개 메소드

Initializes a new instance of the CyrusBuilt.MonoPi.IO.PCA.PCA9685Pin class
public PCA9685Pin ( String provider, Int32 address, String name ) : System
provider String /// The name of the pin provider. ///
address System.Int32 /// The pin address. ///
name String /// The name of the pin. ///
리턴 System

ToString() 공개 메소드

Returns a System.String that represents the current CyrusBuilt.MonoPi.IO.PCA.PCA9685Pin.
public ToString ( ) : String
리턴 String

프로퍼티 상세

ALL 공개적으로 정적으로 프로퍼티

All channels.
public static IPCA9685Pin[] ALL
리턴 IPCA9685Pin[]

PWM_00 공개적으로 정적으로 프로퍼티

PWM channel 0.
public static IPCA9685Pin PWM_00
리턴 IPCA9685Pin

PWM_01 공개적으로 정적으로 프로퍼티

PWM channel 1.
public static IPCA9685Pin PWM_01
리턴 IPCA9685Pin

PWM_02 공개적으로 정적으로 프로퍼티

PWM channel 2.
public static IPCA9685Pin PWM_02
리턴 IPCA9685Pin

PWM_03 공개적으로 정적으로 프로퍼티

PWM channel 3.
public static IPCA9685Pin PWM_03
리턴 IPCA9685Pin

PWM_04 공개적으로 정적으로 프로퍼티

PWM channel 4.
public static IPCA9685Pin PWM_04
리턴 IPCA9685Pin

PWM_05 공개적으로 정적으로 프로퍼티

PWM channel 5.
public static IPCA9685Pin PWM_05
리턴 IPCA9685Pin

PWM_06 공개적으로 정적으로 프로퍼티

PWM channel 6.
public static IPCA9685Pin PWM_06
리턴 IPCA9685Pin

PWM_07 공개적으로 정적으로 프로퍼티

PWM channel 7.
public static IPCA9685Pin PWM_07
리턴 IPCA9685Pin

PWM_08 공개적으로 정적으로 프로퍼티

PWM channel 8.
public static IPCA9685Pin PWM_08
리턴 IPCA9685Pin

PWM_09 공개적으로 정적으로 프로퍼티

PWM channel 9.
public static IPCA9685Pin PWM_09
리턴 IPCA9685Pin

PWM_10 공개적으로 정적으로 프로퍼티

PWM channel 10.
public static IPCA9685Pin PWM_10
리턴 IPCA9685Pin

PWM_11 공개적으로 정적으로 프로퍼티

PWM channel 11.
public static IPCA9685Pin PWM_11
리턴 IPCA9685Pin

PWM_12 공개적으로 정적으로 프로퍼티

PWM channel 12.
public static IPCA9685Pin PWM_12
리턴 IPCA9685Pin

PWM_13 공개적으로 정적으로 프로퍼티

PWM channel 13.
public static IPCA9685Pin PWM_13
리턴 IPCA9685Pin

PWM_14 공개적으로 정적으로 프로퍼티

PWM channel 14.
public static IPCA9685Pin PWM_14
리턴 IPCA9685Pin

PWM_15 공개적으로 정적으로 프로퍼티

PWM channel 15.
public static IPCA9685Pin PWM_15
리턴 IPCA9685Pin