first commit
This commit is contained in:
commit
a5a0434432
1126 changed files with 439481 additions and 0 deletions
15
Software/CSharp/GrovePi/Sensors/Buzzer.cs
Normal file
15
Software/CSharp/GrovePi/Sensors/Buzzer.cs
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
namespace GrovePi.Sensors
|
||||
{
|
||||
public interface IBuzzer
|
||||
{
|
||||
SensorStatus CurrentState { get; }
|
||||
IBuzzer ChangeState(SensorStatus newState);
|
||||
}
|
||||
|
||||
internal class Buzzer : Sensor<IBuzzer>, IBuzzer
|
||||
{
|
||||
internal Buzzer(IGrovePi device, Pin pin) : base(device, pin, PinMode.Output)
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue