summaryrefslogtreecommitdiff
path: root/keyboard/preonic/beeps.h
diff options
context:
space:
mode:
authorJack Humbert2015-08-21 23:14:48 -0400
committerJack Humbert2015-08-21 23:14:48 -0400
commit476e29d1190ac45b810109512bbb50cc4769493b (patch)
tree1d493bae3b0ae91a6202918aa1bf53fb0da936fa /keyboard/preonic/beeps.h
parent2d76b5c3d421c984f6b4b9da757383cc87e3f808 (diff)
parentb191f8c60fbbaf1fb55d67edb86a6c33489b2ce3 (diff)
Merge pull request #26 from jackhumbert/midi
Midi
Diffstat (limited to 'keyboard/preonic/beeps.h')
-rw-r--r--keyboard/preonic/beeps.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/keyboard/preonic/beeps.h b/keyboard/preonic/beeps.h
new file mode 100644
index 000000000..3e3c634ff
--- /dev/null
+++ b/keyboard/preonic/beeps.h
@@ -0,0 +1,9 @@
+#include <stdint.h>
+#include <stdbool.h>
+#include <avr/io.h>
+#include <util/delay.h>
+
+void note(int x, float length);
+void beeps();
+void true_note(float x, float y, float length);
+void play_note(float freq, int length); \ No newline at end of file