統合プログラム
Dependencies: mbed Servo BMP180
Diff: Landing_Judgement.h
- Revision:
- 6:6fe6e3554a46
- Parent:
- 5:e1001bfc423a
--- a/Landing_Judgement.h Thu Oct 28 09:12:27 2021 +0000 +++ b/Landing_Judgement.h Thu Oct 28 13:50:27 2021 +0000 @@ -1,6 +1,6 @@ #include "mbed.h" #include "BMP180.h" -#include "math.h" +#include "calculate.h" #define PIN_SDA D4 #define PIN_SCL D5 @@ -22,7 +22,7 @@ */ //着地判定の計算を開始させる関数 - int landing_judgement1(){ + int land(){ BMP180 bmp180(PIN_SDA,PIN_SCL); landing_judgement = 0;