AForge.Robotics.Lego.RCXBrick.SetTime C# (CSharp) Method

SetTime() public method

Set current time for the RCX brick.
public SetTime ( byte hours, byte minutes ) : bool
hours byte Hours, [0..23].
minutes byte Minutes, [0..59].
return bool
        public bool SetTime( byte hours, byte minutes )
        {
            return SendCommand( new byte[] { (byte) RCXCommand.SetTime, hours, minutes }, new byte[1], 1 );
        }