Play tone of specified frequency.

Namespace:  AForge.Robotics.Lego
Assembly:  AForge.Robotics.Lego (in AForge.Robotics.Lego.dll) Version: 2.2.3.0 (2.2.3.0)

Syntax

C#
public bool PlayTone(
	short frequency,
	short duration
)

Parameters

frequency
Type: System..::.Int16
Tone frequency in Hz.
duration
Type: System..::.Int16
Tone duration in milliseconds.

Return Value

Returns true if device is alive or false otherwise.

See Also