public LED8x8Matrix(ILedDriver driver) : base("matrix", driver.PanelsPerFrame) { this.driver = driver; }
public LED8x8Matrix(ILedDriver driver, IFont font) : base("matrix", font, driver.PanelsPerFrame) { _driver = driver; }
public SevenSegmentDisplay(ILedDriver driver) : base("ssd", driver.PanelsPerFrame) { _driver = driver; }
/// <summary> /// Construct a new LED /// </summary> /// <param name="driver">The driver this LED is attached to</param> /// <param name="channel">The channel to use</param> /// <param name="hasBrightnessControl">Whether the LED has brightness control</param> internal Led(ILedDriver driver, int channel = 0, bool hasBrightnessControl = false) { Driver = driver; HasBrightnessControl = hasBrightnessControl; Channel = channel; }
public SevenSegmentDisplay(ILedDriver driver) : base("ssd", driver.PanelsPerFrame) { this.driver = driver; }