ネットワークアップデート機能とか、Pachubeへの情報登録とかの処理を追加しています
Dependencies: Terminal EthernetNetIf Pachube TextLCD mbed ConfigFile FirmwareUpdater
trans.h
- Committer:
- abe00makoto
- Date:
- 2011-06-06
- Revision:
- 1:1eb67d074bed
- Parent:
- 0:a62f36392b9b
File content as of revision 1:1eb67d074bed:
#ifndef MBED_VOLTAGECONVERTER_H #define MBED_VOLTAGECONVERTER_H #include "mbed.h" class Trans { public: Trans(PinName pin,float period,float duty): _trans(pin){ _trans.period(period); _trans=0; _duty=duty; } void off(){ _trans=0; } void on(){ _trans=_duty; } private: PwmOut _trans; float _duty; }; #endif