920MHz帯無線通信モジュールIM920のライブラリ
Dependents: Hybrid_OB2021_MAIN Hybrid_OB2021_GROUND pressure_control_system pressure_control_receiver ... more
Revision 1:5c181b7606f4, committed 2018-06-24
- Comitter:
- Sigma884
- Date:
- Sun Jun 24 17:47:20 2018 +0000
- Parent:
- 0:8e1682c378ec
- Commit message:
- ????????????????
Changed in this revision
IM920.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r 8e1682c378ec -r 5c181b7606f4 IM920.cpp --- a/IM920.cpp Wed Oct 25 08:07:43 2017 +0000 +++ b/IM920.cpp Sun Jun 24 17:47:20 2018 +0000 @@ -139,9 +139,11 @@ static int current = 0; static char c = 0; c = ser->getc(); + /* if(AS == RESPONSE_STRING || AS == INTERACTIVE_STRING){ printf("%c", c);//描画、後で1行描画だと次の行がすぐ来た時にハングアップしてしまう } + */ if(c == '\r'){//文字列終了 writeBuffAddr[current] = '\0'; @@ -164,10 +166,12 @@ if(current > 9){ //データの取り出し、配列化 data_analyze(); + /* for(int i = 0;i < 64;i++){ printf("%d ",data[i]); } printf("\r\n"); + */ //printf("header: %0X\r\n",(uint8_t)data[0]); //header0xFF(); // 関数の呼び出し