/* This program illustrates how to 
 *     connect to the Scribbler robot, 
 *     beep, and 
 *     disconnect. 
 */

#include <MyroC.h>          /* include the signatures for Scribbler commands */

int
main()
{
  rConnect("/dev/rfcomm0"); /* connect to Scribbler */
  rBeep(1,550);             /* beep for 1 second at a frequency of 550 Hz. */
  rDisconnect();            /* disconnect from Scribbler */
  return 0;                 /* return, indicating no errors have occurred */
} /* main */
