private void SendCommand(byte[] command) { var irCommand = new SendInfraredSignalCommand().WithSignal(command).WithPin(_pin).WithRepeats(2); _i2CHardwareBridge.ExecuteCommand(irCommand); }
#pragma warning restore 0067 public void SendCode(Lpd433MhzCode code) { var command = new SendLDP433MhzSignalCommand().WithPin(_pin).WithCode(code.Value).WithLength(code.Length).WithRepeats(code.Repeats); _i2CHardwareBridge.ExecuteCommand(command); }