C# Class Lesson_205.TCS34725

ファイルを表示 Open project: ms-iot/adafruitsample Class Usage Examples

Public Methods

Method Description
Disable ( ) : System.Threading.Tasks.Task
Enable ( ) : System.Threading.Tasks.Task
Initialize ( ) : System.Threading.Tasks.Task
TCS34725 ( int ledControlPin = 12 ) : System
getClosestColor ( ) : Task
getRawData ( ) : Task
getRgbData ( ) : Task

Private Methods

Method Description
ColorFromBuffer ( byte buffer ) : UInt16
begin ( ) : System.Threading.Tasks.Task
initColorList ( ) : void
setGain ( eTCS34725Gain gain ) : void
setIntegrationTime ( eTCS34725IntegrationTime integrationTime ) : void

Method Details

Disable() public method

public Disable ( ) : System.Threading.Tasks.Task
return System.Threading.Tasks.Task

Enable() public method

public Enable ( ) : System.Threading.Tasks.Task
return System.Threading.Tasks.Task

Initialize() public method

public Initialize ( ) : System.Threading.Tasks.Task
return System.Threading.Tasks.Task

TCS34725() public method

public TCS34725 ( int ledControlPin = 12 ) : System
ledControlPin int
return System

getClosestColor() public method

public getClosestColor ( ) : Task
return Task

getRawData() public method

public getRawData ( ) : Task
return Task

getRgbData() public method

public getRgbData ( ) : Task
return Task