Music key reference. From C to B, major and minor
Dependencies: EFM32_SegmentLCD IOFuncLib mbed
Diff: Functions.h
- Revision:
- 0:45c4e9ef5b03
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/Functions.h Sun Jun 28 12:57:01 2015 +0000
@@ -0,0 +1,17 @@
+#include <string>
+
+
+//************************ FUNZIONI MODIFICATE
+void in0_handler()
+{
+ kcount++;
+ kcount=(kcount+24)%24;
+ printKey(kcount);
+}
+
+void in1_handler()
+{
+ kcount--;
+ kcount=(kcount+24)%24;
+ printKey(kcount);
+}