ネットワークアップデート機能とか、Pachubeへの情報登録とかの処理を追加しています

Dependencies:   Terminal EthernetNetIf Pachube TextLCD mbed ConfigFile FirmwareUpdater

Committer:
abe00makoto
Date:
Mon Jun 06 19:56:43 2011 +0000
Revision:
1:1eb67d074bed
Parent:
0:a62f36392b9b
add set_time function. for fist use mbed

Who changed what in which revision?

UserRevisionLine numberNew contents of line
abe00makoto 0:a62f36392b9b 1 #ifndef MBED_VOLTAGECONVERTER_H
abe00makoto 0:a62f36392b9b 2 #define MBED_VOLTAGECONVERTER_H
abe00makoto 0:a62f36392b9b 3 #include "mbed.h"
abe00makoto 0:a62f36392b9b 4
abe00makoto 0:a62f36392b9b 5 class Trans
abe00makoto 0:a62f36392b9b 6 {
abe00makoto 0:a62f36392b9b 7
abe00makoto 0:a62f36392b9b 8 public:
abe00makoto 0:a62f36392b9b 9 Trans(PinName pin,float period,float duty): _trans(pin){
abe00makoto 0:a62f36392b9b 10 _trans.period(period);
abe00makoto 0:a62f36392b9b 11 _trans=0;
abe00makoto 0:a62f36392b9b 12 _duty=duty;
abe00makoto 0:a62f36392b9b 13 }
abe00makoto 0:a62f36392b9b 14 void off(){
abe00makoto 0:a62f36392b9b 15 _trans=0;
abe00makoto 0:a62f36392b9b 16 }
abe00makoto 0:a62f36392b9b 17 void on(){
abe00makoto 0:a62f36392b9b 18 _trans=_duty;
abe00makoto 0:a62f36392b9b 19 }
abe00makoto 0:a62f36392b9b 20
abe00makoto 0:a62f36392b9b 21 private:
abe00makoto 0:a62f36392b9b 22 PwmOut _trans;
abe00makoto 0:a62f36392b9b 23 float _duty;
abe00makoto 0:a62f36392b9b 24
abe00makoto 0:a62f36392b9b 25
abe00makoto 0:a62f36392b9b 26 };
abe00makoto 0:a62f36392b9b 27 #endif