![](/media/cache/profiles/90a82bf94b4c5981e7e68ff425e519f3.50x50_q85.jpg)
このプログラムは、赤外線リモコンから送信される通信波形を測定します。波形のHi,Loの時間を”μs”単位で測定して、USB-COMで出力します
Dependencies: Propo_RemotoIR mbed
詳しい使い方は、次のblogで説明しています。 http://suupen-make.blogspot.jp/2013/06/mbedrremoteir-hilo1usremoteirproporemot.html
Revision 0:73c452bde4c6, committed 2013-06-29
- Comitter:
- suupen
- Date:
- Sat Jun 29 05:18:34 2013 +0000
- Commit message:
- ?????????????????????????????????Hi,Lo???????????????????-????????????????
Changed in this revision
diff -r 000000000000 -r 73c452bde4c6 Propo_RemotoIR.lib --- /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
diff -r 000000000000 -r 73c452bde4c6 main.cpp --- /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 + } + +}
diff -r 000000000000 -r 73c452bde4c6 mbed.bld --- /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