otamesi
Dependencies: mbed
Diff: main.cpp
- Revision:
- 23:2ca79873ef44
- Parent:
- 20:e78bffff80ee
- Child:
- 27:b4922048ab11
diff -r 5fa04278ec78 -r 2ca79873ef44 main.cpp --- a/main.cpp Sat Dec 01 03:23:36 2018 +0000 +++ b/main.cpp Fri Dec 07 06:32:14 2018 +0000 @@ -12,8 +12,8 @@ MPU6050 mpu(p9, p10); //(SDA,SCL)のピンをアサインしてね☆ 加速度センサー -DigitalIn flight(p22); //フライトピン -DigitalOut FET(p21); //FET +DigitalIn flight(p21); //フライトピン +DigitalOut FET(p22); //FET InterruptIn button1(p15); //フォトインタラプタ InterruptIn button2(p18);