Bonjour
Merci bien de la réponse
mais malgré ce changement, toujours pas de rotation. Les moteurs se détectent bien, mais restent immobiles.
Voici la configuration rentré dans “config.h”, si jamais cela peut aider.
Merci bien de l’aide fourni.
[code]#ifndef CONFIG_H_
#define CONFIG_H_
#define QUADX
#define MINTHROTTLE 1150 // () (**
#define MINCOMMAND 900
#define I2C_SPEED 100000L
#define FLYDUINO_MPU
#define PID_CONTROLLER 1
#define YAW_DIRECTION 1
#define ONLYARMWHENFLAT
#define ALLOW_ARM_DISARM_VIA_TX_YAW
#define CAM_TIME_HIGH 1000
#define FLAPPERON_EP { 1500, 1700 } // Endpooints for flaps on a 2 way switch else set {1020,2000} and program in radio.
#define FLAPPERON_INVERT { -1, 1 }
#define COLLECTIVE_PITCH THROTTLE
#define COLLECTIVE_RANGE { 80, 0, 80 }// {Min%, ZeroPitch offset from 1500, Max%}.
#define YAWMOTOR 0 // If a motor is used as YAW Set to 1 else set to 0.
#define SERVO_NICK { +10, -10, 0 }
#define SERVO_LEFT { +10, +5, +10 }
#define SERVO_RIGHT { +10, +5, -10 }
#define CONTROL_RANGE { 100, 100 } // { ROLL,PITCH }
#define SBUS_MID_OFFSET 988 //SBUS Mid-Point at 1500
#define SERIAL0_COM_SPEED 115200
#define SERIAL1_COM_SPEED 115200
#define SERIAL2_COM_SPEED 115200
#define SERIAL3_COM_SPEED 115200
#define INTERLEAVING_DELAY 3000
#define NEUTRALIZE_DELAY 100000
#define AP_MODE 40 // Create a deadspan for GPS.
#define FAILSAFE_DELAY 10 // Guard time for failsafe activation after signal lost. 1 step = 0.1sec - 1sec in example
#define FAILSAFE_OFF_DELAY 200 // Time for Landing before motors stop in 0.1sec. 1 step = 0.1sec - 20sec in example
#define FAILSAFE_THROTTLE (MINTHROTTLE + 200) // () Throttle level used for landing - may be relative to MINTHROTTLE - as in this case
#define FAILSAFE_DETECT_TRESHOLD 985
#define GPS_BAUD 57600
#define GPS_LED_INDICATOR
#define NAV_CONTROLS_HEADING true // copter faces toward the navigation point, maghold must be enabled for it
#define NAV_TAIL_FIRST false // true - copter comes in with tail first
#define NAV_SET_TAKEOFF_HEADING true // true - when copter arrives to home position it rotates it’s head to takeoff direction
#define MAG_DECLINATION 0.0f //(**)
#define GPS_LEAD_FILTER // Adds a forward predictive filterig to compensate gps lag. Code based on Jason Short’s lead filter implementation #define GPS_WP_RADIUS 200 // if we are within this distance to a waypoint then we consider it reached (distance is in cm)
#define NAV_SLEW_RATE 30 // Adds a rate control to nav output, will smoothen out nav angle spikes
#define LCD_SERIAL_PORT 0 // must be 0 on Pro Mini and single serial boards; Set to your choice on any Mega based board
#define LCD_MENU_PREV ‘p’
#define LCD_MENU_NEXT ‘n’
#define LCD_VALUE_UP ‘u’
#define LCD_VALUE_DOWN ‘d’
#define LCD_MENU_SAVE_EXIT ‘s’
#define LCD_MENU_ABORT ‘x’
#define VBATSCALE 131 // () (**) change this value if readed Battery voltage is different than real voltage
#define VBATNOMINAL 126 // 12,6V full battery nominal voltage - only used for lcd.telemetry
#define VBATLEVEL_WARN1 107 // () () 10,7V
#define VBATLEVEL_WARN2 99 // (*) () 9.9V
#define VBATLEVEL_CRIT 93 // () (**) 9.3V - critical condition: if vbat ever goes below this value, permanent alarm is triggered
#define NO_VBAT 16 // Avoid beeping without any battery
#define PSENSORNULL 510 / () hard only: set to analogRead() value for zero current; for I=0A my sensor
gives 1/2 Vss; that is approx 2.49Volt; /
#define PINT2mA 132 / () hard: one integer step on arduino analog translates to mA (example 4.9 / 37 * 1000) ;
soft: use fictional value, start with 100.
for hard and soft: larger PINT2mA will get you larger value for power (mAh equivalent) /
#define ALT_HOLD_THROTTLE_NEUTRAL_ZONE 50
#define BOARD_NAME “MultiWii V-.–”
#define NO_FLASH_CHECK
#define MIDRC 1500
#define SERVO_RFR_50HZ
#define MEGA_HW_PWM_SERVOS
#define SERVO_RFR_RATE 50 // In Hz, you can set it from 20 to 400Hz, used only in HW PWM mode for mega and 32u4
#define ESC_CALIB_LOW MINCOMMAND
#define ESC_CALIB_HIGH 2000
#define LCD_TELEMETRY_FREQ 23 // to send telemetry data over serial 23 <=> 60ms <=> 16Hz (only sending interlaced, so 8Hz update rate)
#define LCD_TELEMETRY_AUTO_FREQ 967// to step to next telemetry page 967 <=> 3s
#define PSENSOR_SMOOTH 16 // len of averaging vector for smoothing the PSENSOR readings; should be power of 2; set to 1 to disable
#define VBAT_SMOOTH 16 // len of averaging vector for smoothing the VBAT readings; should be power of 2; set to 1 to disable
#define RSSI_SMOOTH 16 // len of averaging vector for smoothing the RSSI readings; should be power of 2; set to 1 to disable
#define DISABLE_POWER_PIN
#endif / CONFIG_H_ */[/code]