回転数計のデータをトワイライトから受け取って回転数を計算して表示します。

Dependencies:   mbed

Fork of receive_twe by natsu tsumagari

Files at this revision

API Documentation at this revision

Comitter:
tsumagari
Date:
Wed Nov 02 09:59:04 2016 +0000
Parent:
7:0c3c1a484ebc
Commit message:
l3gd20??twe-lite???z????????????int????r/m??????????

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
diff -r 0c3c1a484ebc -r e29764121447 main.cpp
--- a/main.cpp	Wed Oct 26 10:27:04 2016 +0000
+++ b/main.cpp	Wed Nov 02 09:59:04 2016 +0000
@@ -56,8 +56,6 @@
                     if(data[data_count-4]!='0') z_int *= -1;
                     z_double = (double)z_int/6; //角度補正前ふつうに
                     pc.printf("\n%f",z_double);
-                    z_double = z_double * 36.3/35.0; //角度*363/350で補正
-                    pc.printf("\n%f",z_double);
                     //pc.putc('\n');
 //                    pc.putc(data[data_count]);
                 }