rct_status_t rct_play_tone ( rct_brick_t *  brick,
int  herz,
int  milliseconds 
)

Instruct the robo brick to play a tone.

Parameters:
brick - Pointer to a brick structure with an open connection.
herz - Frequency of the tone (200 - 14000Hz).
milliseconds - Duration of the tone.
Author:
Jason W. Bacon
Play the specified tone for the specified duration. The brick must first be opened with rct_open_brick().

Supported bricks:

  • NXT


Generated on Sun Jan 13 21:31:18 2008 for roboctl by  doxygen 1.5.1