C# 클래스 Microsoft.Maker.Sparkfun.WeatherShield.WeatherShield

파일 보기 프로젝트 열기: ms-iot/sparkfun-weather-shield 1 사용 예제들

공개 메소드들

메소드 설명
BeginAsync ( ) : IAsyncOperation

Initialize the Sparkfun Weather Shield

WeatherShield ( string i2cBusName, int ledBluePin, int ledGreenPin ) : Microsoft.Maker.Devices.I2C.Htu21d

Constructs WeatherShield with I2C bus and status LEDs identified

비공개 메소드들

메소드 설명
BeginAsyncHelper ( ) : Task

Initialize the Sparkfun Weather Shield

Setup and instantiate the I2C device objects for the HTU21D and the MPL3115A2 and initialize the blue and green status LEDs.

메소드 상세

BeginAsync() 공개 메소드

Initialize the Sparkfun Weather Shield
public BeginAsync ( ) : IAsyncOperation
리턴 IAsyncOperation

WeatherShield() 공개 메소드

Constructs WeatherShield with I2C bus and status LEDs identified
public WeatherShield ( string i2cBusName, int ledBluePin, int ledGreenPin ) : Microsoft.Maker.Devices.I2C.Htu21d
i2cBusName string
ledBluePin int
ledGreenPin int
리턴 Microsoft.Maker.Devices.I2C.Htu21d