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

Dependencies:   Terminal EthernetNetIf Pachube TextLCD mbed ConfigFile FirmwareUpdater

Revision:
0:a62f36392b9b
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/trans.h	Tue May 17 13:49:41 2011 +0000
@@ -0,0 +1,27 @@
+#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
\ No newline at end of file