doppler shift / Mbed 2 deprecated STM32_ADC_InternalChannels_3

Dependencies:   mbed

Files at this revision

API Documentation at this revision

Comitter:
KINU
Date:
Wed Dec 09 12:01:45 2020 +0000
Parent:
1:f7f1c0356ffd
Commit message:
aaaa

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/main.cpp	Wed Dec 09 08:48:04 2020 +0000
+++ b/main.cpp	Wed Dec 09 12:01:45 2020 +0000
@@ -13,9 +13,9 @@
 
         if(dir) {  //データが届いている場合
 
-                bin = device.getc();   //bin変数に値を入れる
+                bin = pc.getc();   //bin変数に値を入れる
                 pc.printf("%02hhx ",bin); // デバッグ用
-                if(bin == 0xFE){// bin変数の中身がFEの場合、値の取得開始
+               /* if(bin == 0xFE){// bin変数の中身がFEの場合、値の取得開始
                     pc.printf("start");
                     for(int k = 0; k<1000; k++){
                       
@@ -27,7 +27,7 @@
                         
                     }
                 
-            }
+            }*/
         } 
 
     }