/// <summary> /// コンストラクタ /// </summary> /// <param name="latchPin"></param> public VirtualResistorIC(Arduino.PinType latchPin) { this.latchPin = latchPin; }
public byte[] SetPinPacket(int pin, Arduino.PinType pType) { return(encode((byte)Arduino.Opcode.Set, (byte)pin, (byte)pType)); }
public void definePin(int pin, Arduino.PinType ptype) { byte[] packet = encoder.SetPinPacket(pin, ptype); arduino.sendPacket(packet); }