Windows 10 IoT C# driver library for GrovePi
The NuGet package for the current release is available here.
All supported sensors are available through the DeviceFactory class.
Supported sensors include:
Below are some simple examples of how to use the library.
Ultra sonic sensor plugged into digital pin 2 (D2)
var distance = DeviceFactory.Build.UltraSonicSensor(Pin.DigitalPin2).MeasureInCentimeters();
DeviceFactory.Build.RgbLcdDisplay().SetText("Hello World").SetBacklightRgb(0, 255, 255);
Sound the buzzer plugged into digital pin 2 (D2)
DeviceFactory.Build.Buzzer(Pin.DigitalPin2).ChangeState(SensorStatus.On);