C# 클래스 MirrorSUPINFO.Components.ComponentModel.Hardware.SparkFun_APDS9960_Helper

Provide functions to use the SparkFun_APDS9960 driver
상속: IDisposable
파일 보기 프로젝트 열기: veler/MirrorSUPINFO

Private Properties

프로퍼티 타입 설명
GestureTimer_Tick void
Initialize void
InitializeGestureTimer void
InitializeI2CAsync System.Threading.Tasks.Task
InitializeSensor void

공개 메소드들

메소드 설명
Dispose ( ) : void
GetAmbientLight ( ) : int

Gets a value that represents the ambiant light

GetBlueLight ( ) : int

Gets a value that represents the blue light

GetGreenLight ( ) : int

Gets a value that represents the green light

GetProximity ( ) : byte

Gets a value that represents the proximity

GetRedLight ( ) : int

Gets a value that represents the red light

SparkFun_APDS9960_Helper ( Mode mode ) : System

Initialize a new instance of SparkFun_APDS9960_Helper

비공개 메소드들

메소드 설명
GestureTimer_Tick ( object sender, object e ) : void
Initialize ( Mode mode ) : void

Initialize everything

InitializeGestureTimer ( ) : void

Initialize the timer if the mode of the sensor is in Gesture

InitializeI2CAsync ( ) : System.Threading.Tasks.Task

Initialize the device

InitializeSensor ( Mode mode ) : void

Initialize the sensor

메소드 상세

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

GetAmbientLight() 공개 메소드

Gets a value that represents the ambiant light
public GetAmbientLight ( ) : int
리턴 int

GetBlueLight() 공개 메소드

Gets a value that represents the blue light
public GetBlueLight ( ) : int
리턴 int

GetGreenLight() 공개 메소드

Gets a value that represents the green light
public GetGreenLight ( ) : int
리턴 int

GetProximity() 공개 메소드

Gets a value that represents the proximity
public GetProximity ( ) : byte
리턴 byte

GetRedLight() 공개 메소드

Gets a value that represents the red light
public GetRedLight ( ) : int
리턴 int

SparkFun_APDS9960_Helper() 공개 메소드

Initialize a new instance of SparkFun_APDS9960_Helper
public SparkFun_APDS9960_Helper ( Mode mode ) : System
mode Mode The mode of the sensor
리턴 System