Пример #1
0
        public RefPiLedControl(RevPiControl contr, RevPiConf conf)
        {
            _control = contr;
            var leds = conf.FindVarByName("RevPiLED");

            if (leds == null)
            {
                _byteAddr = 6;
            }
            else
            {
                _byteAddr = leds.ByteAddress;
            }
        }
Пример #2
0
 public RefPiLedControl(RevPiControl contr, int Offset)
 {
     _control  = contr;
     _byteAddr = Offset;
 }