![](/media/cache/group/default_image.jpg.50x50_q85.jpg)
回転数計のデータをトワイライトから受け取って回転数を計算して表示します。
Dependencies: mbed
Fork of receive_twe by
Diff: main.cpp
- Revision:
- 8:e29764121447
- Parent:
- 7:0c3c1a484ebc
--- 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]); }