Download NHK English news podcast automatically. This application requires mpod mother board. See also http://mbed.org/users/geodenx/notebook/mpod/

Dependencies:   BlinkLed HTTPClient EthernetInterface FatFileSystemCpp MSCFileSystem mbed-rtos mbed

Download NHK English news podcast automatically. This application requires mpod mother board. See also http://mbed.org/users/geodenx/notebook/mpod/

Committer:
togayan
Date:
Thu Aug 16 15:49:19 2012 +0000
Revision:
0:1855a008f28e
Child:
2:0da3a4508b46
First revision of mpod_nhk_english.

Who changed what in which revision?

UserRevisionLine numberNew contents of line
togayan 0:1855a008f28e 1 /* BlinkLed.h */
togayan 0:1855a008f28e 2 #ifndef BLINKLED_H_
togayan 0:1855a008f28e 3 #define BLINKLED_H_
togayan 0:1855a008f28e 4
togayan 0:1855a008f28e 5 #include "mbed.h"
togayan 0:1855a008f28e 6 #include "rtos.h"
togayan 0:1855a008f28e 7
togayan 0:1855a008f28e 8 class BlinkLed
togayan 0:1855a008f28e 9 {
togayan 0:1855a008f28e 10 public:
togayan 0:1855a008f28e 11 BlinkLed(PinName pin, uint32_t millisecWait, const char* name = NULL);
togayan 0:1855a008f28e 12
togayan 0:1855a008f28e 13 ~BlinkLed();
togayan 0:1855a008f28e 14
togayan 0:1855a008f28e 15 void startBlink();
togayan 0:1855a008f28e 16
togayan 0:1855a008f28e 17 void finishBlink();
togayan 0:1855a008f28e 18
togayan 0:1855a008f28e 19 private:
togayan 0:1855a008f28e 20 static void blink(void const *argument);
togayan 0:1855a008f28e 21
togayan 0:1855a008f28e 22 PwmOut led;
togayan 0:1855a008f28e 23 uint32_t millisecWait;
togayan 0:1855a008f28e 24
togayan 0:1855a008f28e 25 Thread* thread;
togayan 0:1855a008f28e 26 };
togayan 0:1855a008f28e 27
togayan 0:1855a008f28e 28
togayan 0:1855a008f28e 29 #endif /* BLINKLED_H_ */