Пример #1
0
 public ComBitBangConfig(string keyPrefix)
     : base(keyPrefix)
 {
     _comPortSettings = new ComPortSettings(keyPrefix);
     _resetPin        = new ComBitBangPinConfig(keyPrefix + "ResetPin.");
     _clkPin          = new ComBitBangPinConfig(keyPrefix + "ClkPin.");
     _mosiPin         = new ComBitBangPinConfig(keyPrefix + "MosiPin.");
     _misoPin         = new ComBitBangPinConfig(keyPrefix + "MisoPin.");
 }
Пример #2
0
 public StkV1Config(string keyPrefix)
     : base(keyPrefix)
 {
     _comPortSettings = new ComPortSettings(keyPrefix);
     _resetPin        = new ComBitBangPinConfig(keyPrefix + "ResetPin.");
 }