Main Program
Dependencies: mbed AQM1602 HMC6352 PID
Diff: main.cpp
- Revision:
- 8:659f697059d3
- Parent:
- 7:b6118be88bc2
- Child:
- 9:4db25ce6c097
--- a/main.cpp Wed Sep 16 06:13:07 2015 +0000 +++ b/main.cpp Wed Sep 16 06:38:20 2015 +0000 @@ -5,9 +5,8 @@ #include "loop.h" int main(void) { - int i=1; - RN42.attach(&TX, Serial::TxIrq);//送信バッファ空き割込み - RN42.attach(&RX, Serial::RxIrq);//受信割込み - RN42.putc(i);//送信開始 - i = RN42.getc();//受信開始 + SetUp(); + while(1){ + CommandLoop(); + } } \ No newline at end of file