GrFamily.MainBoard.Led.SetLed C# (CSharp) Method

SetLed() public method

LED��_���^��������
public SetLed ( bool on ) : void
on bool LED��_������ꍇ�� true�A��������ꍇ�� false
return void
        public void SetLed(bool on)
        {
            LedPort.Write(on);
        }

Usage Example

示例#1
0
 /// <summary>
 /// 全てのLEDを消灯する
 /// </summary>
 public void TurnAllLedsOff()
 {
     _led1.SetLed(false);
     _led2.SetLed(false);
     _led3.SetLed(false);
     _debugLed.SetLed(false);
 }
All Usage Examples Of GrFamily.MainBoard.Led::SetLed