赤外線リモコンの送信をパルス幅にて行います。 IRRcevPulseWidthライブラリと合わせて使ってください。 Transmit IR control by pulse width. Please use it together with the IRRcevPulseWidth library.

Dependents:   IRLED_SendReceveDemo

Revision:
0:beaea9bf9c5b
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/IRSendPulseWidth.h	Sun Dec 25 09:53:36 2016 +0000
@@ -0,0 +1,17 @@
+#ifndef __IRSEND_PULSEWIDTH_H__
+#define __IRSEND_PULSEWIDTH_H__
+
+#include "mbed.h"
+
+
+class IRSendPulseWidth {
+public:
+    IRSendPulseWidth(PinName output);
+
+    void sendSignal(uint16_t *sendDataArray,uint16_t sendDataN);
+
+private:
+    PwmOut g_pwmoutLed;
+};
+
+#endif
\ No newline at end of file