Skip to content

Commit

Permalink
add IBacklitDisplay interface
Browse files Browse the repository at this point in the history
  • Loading branch information
ctacke committed Jul 23, 2024
1 parent a579ff5 commit 74b8418
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions Source/Meadow.Contracts/Peripherals/Displays/IBacklitDisplay.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
namespace Meadow.Peripherals.Displays;

/// <summary>
/// Defines a Display with a controllable backlight
/// </summary>
public interface IBacklitDisplay : IDisplay
{
/// <summary>
/// Sets the backlight intensity.
/// </summary>
/// <param name="intensity">Intensity value</param>
/// <remarks>For displays with boolean power, use 0 for off and non-zero for on</remarks>
void SetBacklightIntensity(byte intensity);
}

0 comments on commit 74b8418

Please sign in to comment.