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:
2:6bfe732ba6bc
Parent:
1:b5c534165dfe
--- a/buzzer_music.cpp	Wed Mar 14 07:59:21 2018 +0000
+++ b/buzzer_music.cpp	Mon Mar 19 11:32:54 2018 +0000
@@ -23,7 +23,7 @@
         int x = atoi(command_info[0]);
         int y = atoi(command_info[1]);
 
-        if(x >= 0 && y <= 17){
+        if(x >= 1 && y <= 17){
             for(int i = x; i < y; i ++){
                 speaker = 0.5;
                 speaker.period(1.0/frequencies[i]);