Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- * Note.h
- *
- * An interrupt driven system for playing
- * a single continuous note
- */
- #ifndef SOURCES_NOTE_H_
- #define SOURCES_NOTE_H_
- #include <stdint.h>
- /**
- * Initialise the note playing system before first use
- */
- void initialiseNotes(void);
- /**
- * Changes the frequency of the note being played
- *
- * @param frequency - Frequency of note (100Hz-10kHz)
- *
- * @note This function returns immediately.
- * The note is played by interrupt driven code.
- */
- void setNoteFrequency(uint16_t frequency);
- #endif
- /* SOURCES_NOTES_H_ */
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement