このプログラムは、赤外線リモコンから送信される通信波形を測定します。波形のHi,Loの時間を”μs”単位で測定して、USB-COMで出力します

Dependencies:   Propo_RemotoIR mbed

詳しい使い方は、次のblogで説明しています。 http://suupen-make.blogspot.jp/2013/06/mbedrremoteir-hilo1usremoteirproporemot.html

Files at this revision

API Documentation at this revision

Comitter:
suupen
Date:
Sat Jun 29 05:18:34 2013 +0000
Commit message:
?????????????????????????????????Hi,Lo???????????????????-????????????????

Changed in this revision

Propo_RemotoIR.lib Show annotated file Show diff for this revision Revisions of this file
main.cpp Show annotated file Show diff for this revision Revisions of this file
mbed.bld Show annotated file Show diff for this revision Revisions of this file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Propo_RemotoIR.lib	Sat Jun 29 05:18:34 2013 +0000
@@ -0,0 +1,1 @@
+http://mbed.org/users/suupen/code/Propo_RemotoIR/#2379e13b8b34
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp	Sat Jun 29 05:18:34 2013 +0000
@@ -0,0 +1,44 @@
+/**
+ * IR raw data display program 
+ *   130629
+ *
+ * Writer:suupen
+ *
+ *  <circuit diagram>
+ *      VU(mbed)
+ *         |
+ *         |Vcc
+ *        ---    (PL-IRM2161) IR Reciver
+ *       |   |Vout
+ *       |   |--- p5(mbed)
+ *       |   |
+ *        ---
+ *         |GND
+ *         |
+ *       GND(mbed)
+ *
+ *  <PC termnal soft>
+ *   tera term
+ *      baudrate:38400[bps]
+ *      data:8[bit]
+ *      parity:none
+ *      stopbit:1[bit]
+ */
+ 
+#include "mbed.h"
+#include "ReceiverIR.h"
+
+Serial pc(USBTX,USBRX);
+
+
+ReceiverIR ir_rx(p5);
+
+int main() {
+
+    pc.baud(38400);
+    
+    while(1){
+        // nothing
+    }
+
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mbed.bld	Sat Jun 29 05:18:34 2013 +0000
@@ -0,0 +1,1 @@
+http://mbed.org/users/mbed_official/code/mbed/builds/b3110cd2dd17
\ No newline at end of file