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

PlaySound() public method

Play one of supported sounds.
public PlaySound ( SoundType type ) : bool
type SoundType Sound type to play.
return bool
        public bool PlaySound( SoundType type )
        {
            return SendCommand( new byte[] { (byte) RCXCommand.PlaySound, (byte) type }, new byte[1], 1 ); ;
        }