AForge.Robotics.Lego.RCXBrick.SetTime C# (CSharp) Méthode

SetTime() public méthode

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