Some quick functions to have the iRobot Create make some noise. More...
Go to the source code of this file.
Enumerations | |
enum | { LOBOT_BEEP_STARTUP, LOBOT_BEEP_HEARTBEAT, LOBOT_BEEP_QUITTING } |
The different sound sequences supported by the control program. More... | |
Functions | |
void | lo_init_beeps (void) |
void | lo_beep (char beep_id) |
Play one of the supported beeps given its ID. |
Some quick functions to have the iRobot Create make some noise.
This file defines an API for making some sounds using the iRobot Create's on-board speaker. These functions can be useful debugging aids and also provide auditory feedback while the control program runs.
Definition in file LoBeep.h.
anonymous enum |
void lo_beep | ( | char | beep_id | ) |
Play one of the supported beeps given its ID.
Definition at line 108 of file LoBeep.c.
References lo_tx(), and LOBOT_OI_CMD_PLAY_SONG.
void lo_init_beeps | ( | void | ) |
Initialize the different sound sequences supported by the control program.
Definition at line 58 of file LoBeep.c.
References lo_tx(), lo_wait(), and LOBOT_OI_CMD_DEFINE_SONG.