201708能代のメインマイコンの保存データ送信用プログラム

Dependencies:   MPU6050 mbed MS5607

Files at this revision

API Documentation at this revision

Comitter:
oichan
Date:
Wed Aug 16 12:05:21 2017 +0000
Parent:
5:a81dd9b6962a
Commit message:
fixed a little

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/main.cpp	Wed Aug 16 11:53:05 2017 +0000
+++ b/main.cpp	Wed Aug 16 12:05:21 2017 +0000
@@ -2,6 +2,7 @@
 /***********************************************************
     データ取得&送信するプログラム
     各データの終わりの印として'$'を送信
+    送信データが時間順にならないため、検証時は並び替えが必要
 ************************************************************/
 
 //TODO: 30分以上の動作試験
@@ -11,9 +12,9 @@
 #include "MS5607I2C.h"
 
 #define ACC 16384
-#define BUFFNUM 100  /*受信側のBUFFNUMと同値*/
+#define BUFFNUM 50  /*受信側のBUFFNUMと同値*/
 #define CHARANUM 50
-#define RATE 100.0   /*RATE[Hz]でデータ取得*/
+#define RATE 50.0   /*RATE[Hz]でデータ取得*/
 
 
 MPU6050 mpu(p9,p10);