static async Task Main(string[] args) { Pi.Init <BootstrapPiGpio>(); var pin = Pi.Gpio[BcmPin.Gpio17]; var transmitter = new Transmitter433(pin); var blinds = new BlindsDevice(transmitter); await blinds.SendCommand(BlindsDevice.BlindsChannel.Channel1, BlindsDevice.BlindsCommand.Open); Setup.GpioTerminate(); }
public BlindsCapability(BlindsDevice blindsDevice) { _blindsDevice = blindsDevice; }