aboutsummaryrefslogtreecommitdiffstats
path: root/keyboard/preonic/beeps.h
diff options
context:
space:
mode:
authorJack Humbert <jack.humb@gmail.com>2015-08-21 10:46:53 -0400
committerJack Humbert <jack.humb@gmail.com>2015-08-21 10:46:53 -0400
commit04885a3b447c82437d919d467328800eb00af629 (patch)
treeaf1603f20b8d28aee533ccaaed7992ce29619a94 /keyboard/preonic/beeps.h
parentfb4fe52c0a5be527e6c9bfa006a5fb3ea79b4b0e (diff)
downloadfirmware-04885a3b447c82437d919d467328800eb00af629.tar.gz
firmware-04885a3b447c82437d919d467328800eb00af629.tar.bz2
firmware-04885a3b447c82437d919d467328800eb00af629.zip
preonic
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