Download picasa web albums photos 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 picasa web albums photos automatically.
This application requires mpod mother board.

Picasaウェブアルバムから、自動的に写真をダウンロードして、ディジタルフォトフレームに表示します。
動作させるには mpod マザーボード が必要です。
プログラムの中で、ご自分のアルバムのRSSファイルへのURLを指定してからご利用下さい。

album description edit information description

Committer:
togayan
Date:
Wed Aug 22 16:00:38 2012 +0000
Revision:
0:dfd5cfea7112
Child:
5:66c3398a14c9
1st version of mpod_picasa_photoframe

Who changed what in which revision?

UserRevisionLine numberNew contents of line
togayan 0:dfd5cfea7112 1 /* BlinkLed.h */
togayan 0:dfd5cfea7112 2 #ifndef BLINKLED_H_
togayan 0:dfd5cfea7112 3 #define BLINKLED_H_
togayan 0:dfd5cfea7112 4
togayan 0:dfd5cfea7112 5 #include "mbed.h"
togayan 0:dfd5cfea7112 6 #include "rtos.h"
togayan 0:dfd5cfea7112 7
togayan 0:dfd5cfea7112 8 /** LED which blinks automatically with RTOS
togayan 0:dfd5cfea7112 9 */
togayan 0:dfd5cfea7112 10 class BlinkLed
togayan 0:dfd5cfea7112 11 {
togayan 0:dfd5cfea7112 12 public:
togayan 0:dfd5cfea7112 13 /** Constructor
togayan 0:dfd5cfea7112 14 */
togayan 0:dfd5cfea7112 15 BlinkLed(PinName pin, float dutyChangeStep, const char* name = NULL);
togayan 0:dfd5cfea7112 16
togayan 0:dfd5cfea7112 17 /** Destructor
togayan 0:dfd5cfea7112 18 */
togayan 0:dfd5cfea7112 19 ~BlinkLed();
togayan 0:dfd5cfea7112 20
togayan 0:dfd5cfea7112 21 /** Start biinking
togayan 0:dfd5cfea7112 22 */
togayan 0:dfd5cfea7112 23 void startBlink();
togayan 0:dfd5cfea7112 24
togayan 0:dfd5cfea7112 25 /** Finish biinking
togayan 0:dfd5cfea7112 26 */
togayan 0:dfd5cfea7112 27 void finishBlink();
togayan 0:dfd5cfea7112 28
togayan 0:dfd5cfea7112 29 private:
togayan 0:dfd5cfea7112 30 /** Copy constructor
togayan 0:dfd5cfea7112 31 * Disable because it is only declaration
togayan 0:dfd5cfea7112 32 */
togayan 0:dfd5cfea7112 33 BlinkLed(const BlinkLed&);
togayan 0:dfd5cfea7112 34
togayan 0:dfd5cfea7112 35 /** Copy assignment operators
togayan 0:dfd5cfea7112 36 * Disable because it is only declaration
togayan 0:dfd5cfea7112 37 */
togayan 0:dfd5cfea7112 38 BlinkLed& operator=(const BlinkLed&);
togayan 0:dfd5cfea7112 39
togayan 0:dfd5cfea7112 40 /** Function for blinking
togayan 0:dfd5cfea7112 41 * This function will be bind to new thread
togayan 0:dfd5cfea7112 42 */
togayan 0:dfd5cfea7112 43 static void blink(void const *argument);
togayan 0:dfd5cfea7112 44
togayan 0:dfd5cfea7112 45 /** Target Led
togayan 0:dfd5cfea7112 46 */
togayan 0:dfd5cfea7112 47 PwmOut led;
togayan 0:dfd5cfea7112 48
togayan 0:dfd5cfea7112 49 /** Duty ratio step of changing every 20ms
togayan 0:dfd5cfea7112 50 */
togayan 0:dfd5cfea7112 51 float dutyChangeStep;
togayan 0:dfd5cfea7112 52
togayan 0:dfd5cfea7112 53 /** Pointer to thread for blinking
togayan 0:dfd5cfea7112 54 */
togayan 0:dfd5cfea7112 55 Thread* thread;
togayan 0:dfd5cfea7112 56 };
togayan 0:dfd5cfea7112 57
togayan 0:dfd5cfea7112 58
togayan 0:dfd5cfea7112 59 #endif /* BLINKLED_H_ */