Skip to content
/ GrovePi Public
forked from robsonj/GrovePi

Windows 10 IoT C# driver library for GrovePi

Notifications You must be signed in to change notification settings

PatGet/GrovePi

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

79 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GrovePi

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:

  • Relay
  • Led
  • TemperatureAndHumiditySensor
  • UltraSonicSensor
  • AccelerometerSensor
  • RealTimeClock
  • BuildLedBar
  • FourDigitDisplay
  • ChainableRgbLed
  • RotaryAngleSensor
  • Buzzer
  • SoundSensor
  • LightSensor
  • ButtonSensor
  • RgbLcdDisplay

#####Examples Below are some simple examples of how to use the library.

######Measure Distance Ultra sonic sensor plugged into digital pin 2 (D2)

var distance = DeviceFactory.Build.UltraSonicSensor(Pin.DigitalPin2).MeasureInCentimeters();

######Display Hello World DeviceFactory.Build.RgbLcdDisplay().SetText("Hello World").SetBacklightRgb(0, 255, 255);

######Sound the buzzer! Sound the buzzer plugged into digital pin 2 (D2)

DeviceFactory.Build.Buzzer(Pin.DigitalPin2).ChangeState(SensorStatus.On);

About

Windows 10 IoT C# driver library for GrovePi

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 100.0%