otamesi
Dependencies: mbed
Diff: main.cpp
- Revision:
- 25:6680d67bdf24
- Parent:
- 24:a09b08663a7c
- Child:
- 26:ee62ea2f9362
--- a/main.cpp Fri Dec 07 12:45:05 2018 +0000 +++ b/main.cpp Sat Dec 08 02:46:08 2018 +0000 @@ -10,7 +10,7 @@ GPS gps(p28, p27); //GPS HMC5883L compass(p9, p10); //地磁気センサー -MPU6050 mpu(p9, p10); //(SDA,SCL)のピンをアサインしてね☆ 加速度センサー +MPU6050 mpu(p9, p10); //(SDA,SCL) 加速度センサー DigitalIn flight(p22); //フライトピン DigitalOut FET(p21); //FET @@ -207,7 +207,7 @@ oldSpeed = speed; //printf(" speed %f difference %f\r\n",speed,difference);//速度と加速度を表示 - printf("speed %f diference %f\r\n",speed,difference);//速度(m)と変位を表示 + printf("speed %f diference %f\r\n",speed,difference);//速度(m/s)と変位(m)を表示 printf("%d\r\n", test.read()); //フォトインタラプタ printf("%d\r\n", test2.read());