Go to the source code of this file.
Defines | |
#define | C4 260 |
Middle C. | |
#define | C4s 277 |
C#. | |
#define | D4 294 |
D. | |
#define | D4s 311 |
D#. | |
#define | E4 330 |
E. | |
#define | F4 349 |
F. | |
#define | F4s 370 |
F#. | |
#define | G4 392 |
G. | |
#define | G4s 415 |
G#. | |
#define | A4 440 |
A. | |
#define | A4s 466 |
A#. | |
#define | B4 494 |
B. | |
#define | C5 523 |
C. | |
Functions | |
void | buzzer_init (void) |
Initialize the buzzer. | |
void | buzzer_set_val (unsigned int buzz_value) |
Set the value the buzzer plays. | |
void | buzzer_set_freq (unsigned int buzz_freq) |
Set the frequency the buzzer plays. | |
void | buzzer_chirp (unsigned int ms, unsigned int buzz_freq) |
Play a frequency for a specified time. | |
void | buzzer_off (void) |
Turn the buzzer off. |
Contains definitions for using the buzzer built into the colony robots.