Skip to content

Commit

Permalink
Merge pull request #252 from WildernessLabs/color_sensor
Browse files Browse the repository at this point in the history
Add IColorSensor
  • Loading branch information
jorgedevs authored Jul 24, 2024
2 parents d2240fb + 2dabb41 commit a9ed4b2
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions Source/Meadow.Contracts/Peripherals/Sensors/Color/IColorSensor.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
namespace Meadow.Peripherals.Sensors.Color;

/// <summary>
/// Color sensor interface requirements.
/// </summary>
public interface IColorSensor : ISamplingSensor<Meadow.Color>
{
/// <summary>
/// Last color read from the sensor.
/// </summary>
Meadow.Color? Color { get; }
}

0 comments on commit a9ed4b2

Please sign in to comment.