Files
AVR_Learning/Make AVR Examples/Chapter06_Digital-Input/avrMusicBox/organ.h

10 lines
334 B
C

// ------------- Function prototypes -------------- //
// Plays a note for the given duration. None of these times are
// calibrated to actual notes or tempi. It's all relative to TIMEBASE.
void playNote(uint16_t period, uint16_t duration);
// Does nothing for a time equal to the passed duration.
void rest(uint16_t duration);