public LedDriver(IGpioController controller, LedDriverSettings settings) { controller.ThrowIfNull(nameof(controller)); settings.ThrowIfNull(nameof(settings)); Controller = controller; Settings = settings; SetUpController(); }