SDの設定が反映されるように修正

Dependencies:   mbed MPU6050_2 HMC5883L_2 SDFileSystem3

Committer:
HARUKIDELTA
Date:
Thu Feb 14 09:09:25 2019 +0000
Revision:
17:83db05cab3d1
Parent:
16:26cee2aaf61d
variable fixed

Who changed what in which revision?

UserRevisionLine numberNew contents of line
taknokolat 12:083662bca47d 1 #ifndef FALFALLA_H
taknokolat 12:083662bca47d 2 #define FALFALLA_H
taknokolat 12:083662bca47d 3
taknokolat 12:083662bca47d 4 #define SWITCH_CHECK 1400
taknokolat 12:083662bca47d 5 #define NUMBER_FALFALLA 2 //何号機かを入れるとそれに応じて#if以下が変わって設定が変わる
taknokolat 12:083662bca47d 6
taknokolat 13:b088f0db7158 7 static int Servo_NEUTRAL_R; //SDcard用宣言
taknokolat 13:b088f0db7158 8 static int Servo_NEUTRAL_L;
taknokolat 13:b088f0db7158 9 static int Servo_high_FORWARD_R;
taknokolat 13:b088f0db7158 10 static int Servo_high_FORWARD_L;
taknokolat 13:b088f0db7158 11 static int Servo_back_R;
taknokolat 13:b088f0db7158 12 static int Servo_back_L;
taknokolat 13:b088f0db7158 13 static int Servo_slow_FORWARD_R;
taknokolat 13:b088f0db7158 14 static int Servo_slow_FORWARD_L;
taknokolat 13:b088f0db7158 15 static int Turntable_NEUTRAL;
taknokolat 13:b088f0db7158 16 static int Matchspeed; //機体角度調整
taknokolat 13:b088f0db7158 17 static int Focus_NEUTRAL;//カメラ焦点
taknokolat 13:b088f0db7158 18 static int Camera_deg_A;//カメラ角度調整
taknokolat 13:b088f0db7158 19 static int Camera_deg_B;
taknokolat 16:26cee2aaf61d 20 static int Pint_speed;
taknokolat 16:26cee2aaf61d 21 static float Pint_wait;
HARUKIDELTA 17:83db05cab3d1 22 static int Turntable_speed;
taknokolat 12:083662bca47d 23
taknokolat 12:083662bca47d 24 #if NUMBER_FALFALLA == 1 //1号機
taknokolat 12:083662bca47d 25 const int8_t Reverce_falfalla[4] = {1,-1,1,1}; //Nutral:1 , Reverce:-1
taknokolat 12:083662bca47d 26
taknokolat 12:083662bca47d 27 #elif NUMBER_FALFALLA == 2 //2号機
taknokolat 12:083662bca47d 28 const int16_t Reverce_falfalla[4] = {1,-1,1,-1}; //Nutral:1 , Reverce:-1
taknokolat 12:083662bca47d 29
taknokolat 12:083662bca47d 30 #endif
taknokolat 12:083662bca47d 31
taknokolat 12:083662bca47d 32
taknokolat 12:083662bca47d 33 #endif /* ESTRELA_H_ */
taknokolat 12:083662bca47d 34
taknokolat 12:083662bca47d 35 /*
taknokolat 12:083662bca47d 36 x軸回り ロール
taknokolat 12:083662bca47d 37 y軸回り ピッチ
taknokolat 12:083662bca47d 38 z軸回り ヨー
taknokolat 12:083662bca47d 39 */