Download NHK English news podcast automatically. XML Parser "spxml" is used. This application requires mpod mother board. See also http://mbed.org/users/geodenx/notebook/mpod/
Dependencies: BlinkLed HTTPClient EthernetInterface FatFileSystemCpp MSCFileSystem spxml mbed-rtos mbed
Fork of mpod_nhk_english by
Download NHK English news podcast automatically.
XML Parser "spxml" is used.
This application requires mpod mother board.
See also http://mbed.org/users/geodenx/notebook/mpod/
Diff: main.cpp
- Revision:
- 8:a9541e8897f5
- Parent:
- 7:ad9fcf0e1bc5
--- a/main.cpp Sat Sep 01 04:09:48 2012 +0000 +++ b/main.cpp Thu Sep 06 14:38:33 2012 +0000 @@ -13,8 +13,8 @@ EthernetInterface eth; HTTPClient http; MSCFileSystem usb("usb"); -BlinkLed led3(LED1, 0.02); -BlinkLed led4(LED2, 0.2); +BlinkLed led3(LED3, 0.02); +BlinkLed led4(LED4, 0.2); BlinkLed ethGreen(p26, 0.02); BlinkLed ethYellow(p25, 0.2); DigitalOut fsusb30s(p9); @@ -41,6 +41,7 @@ printf("Setup EtherNet with DHCP.\n"); eth.init(); //Use DHCP eth.connect(); + printf("IP Address is %s\n\n", eth.getIPAddress()); // Obtain original lastBuildDate char lastBuildDateOriginal[128] = {0};