/* This program illustrates how to connect to the Scribbler robot, beep, and disconnect. */ #include "MyroC.h" // include the library for Scribbler commands int main() { rConnect("/dev/rfcomm0"); // connect to Scribbler rBeep(1,880); // beep for 1 second at a frequency of 880 Hz. rDisconnect(); // disconnect from Scribbler return 0; // return, indicating no errors have occurred } // main