streaming server for AM/FM radio via UDP connection.
Dependencies: mbed EthernetNetIf
Revision 1:3357273c97f8, committed 2011-03-25
- Comitter:
- soramimi
- Date:
- Fri Mar 25 15:25:54 2011 +0000
- Parent:
- 0:bd865e5a3df3
- Child:
- 2:3b6816fd4ae6
- Commit message:
Changed in this revision
--- a/HTTPServer.lib Mon Feb 28 11:49:39 2011 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,1 +0,0 @@ -http://mbed.org/users/donatien/code/HTTPServer/#d753966e4d97
--- a/RadioServer.cpp Mon Feb 28 11:49:39 2011 +0000 +++ b/RadioServer.cpp Fri Mar 25 15:25:54 2011 +0000 @@ -1,14 +1,12 @@ #include "mbed.h" #include "EthernetNetIf.h" #include "UDPSocket.h" -#include "TextLCD.h" #include "crc32.h" #include "ns9542.h" #include <vector> DigitalOut led1(LED1); DigitalOut led2(LED2); -TextLCD lcd(p21, p22, p23, p24, p25, p26); Ticker ticker; @@ -94,7 +92,7 @@ ns9542_tune_fm(f); continue; } - if (len > 4 && memcmp(buf, "mute", 4) == 0) { + if (len == 4 && memcmp(buf, "mute", len) == 0) { ns9542_mute(true); continue; }
--- a/TextLCD.lib Mon Feb 28 11:49:39 2011 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,1 +0,0 @@ -http://mbed.org/users/simon/code/TextLCD/#44f34c09bd37