Part One of my Project Course. Implementation of simple I/O and a custom defined protocol over UDP/IP.

Dependencies:   C12832 LM75B mbed EthernetInterface mbed-rtos

Revision:
1:b5c534165dfe
Parent:
0:88d3b9015f7c
Child:
2:6bfe732ba6bc
--- a/buzzer_music.h	Mon Feb 26 11:25:59 2018 +0000
+++ b/buzzer_music.h	Wed Mar 14 07:59:21 2018 +0000
@@ -1,7 +1,7 @@
 #pragma once 
 
 #include "mbed.h"
-#include "master.h"
+#include <string>
 
 #define MAX_ARRAY_LENGTH 17
 
@@ -10,7 +10,7 @@
     class BuzzerMusic{
         public:
             BuzzerMusic(PinName speakerPin=p26);
-            void playMusic(int x, int y);
+            void playMusic(string indexes);
         private:
             const static int frequencies[MAX_ARRAY_LENGTH];
             const static int lengths[MAX_ARRAY_LENGTH];