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