Hello,
for Flying Wing the Servo[0] and Servo[1] are used. No i must use another Pin´s on my Pro Mini. Can i simply change the statements: Servo[0] and Servo[1] to Servo[3] and Servo[4] which were used in Plane Mode ?
Kay
Flying Wing -> Pin Replacement
Re: Flying Wing -> Pin Replacement
You need to modify def.h
If you set PRI_SERVO_TO 7
It's possible to use all servos like the airplane.
Code: Select all
#elif defined(FLYING_WING)
#define NUMBER_MOTOR 1
#define PRI_SERVO_FROM 1 // use servo from 1 to 2
#define PRI_SERVO_TO 2
If you set PRI_SERVO_TO 7
It's possible to use all servos like the airplane.
Re: Flying Wing -> Pin Replacement
you may loose feedback in GUI, not sure?
Maybe you better change pin asignment for servo0 and servo1?
Maybe you better change pin asignment for servo0 and servo1?
Re: Flying Wing -> Pin Replacement
Hi and thanks for the quick answers.
How can i do that ?
Kayle
Maybe you better change pin asignment for servo0 and servo1?
How can i do that ?
Kayle
Re: Flying Wing -> Pin Replacement
In def.h
It looks like this.
Find this
Swap SERVO_5 and SERVO_1 to change pins on between A0 and D11
It looks like this.
Code: Select all
#define SERVO_1_PINMODE pinMode(A0,OUTPUT); // TILT_PITCH - WING left
#define SERVO_1_PIN_HIGH PORTC |= 1<<0;
#define SERVO_1_PIN_LOW PORTC &= ~(1<<0);
Find this
Code: Select all
#define SERVO_5_PINMODE pinMode(11,OUTPUT); // BI LEFT
#define SERVO_5_PIN_HIGH PORTB |= 1<<3;
#define SERVO_5_PIN_LOW PORTB &= ~(1<<3);
Swap SERVO_5 and SERVO_1 to change pins on between A0 and D11
Re: Flying Wing -> Pin Replacement
Thanks PatrikE. I did the test with your first comment. I Change PRI_SERVO_TO 7. It works, but in the GUI like Hamburger wrote the Servo Display doesn´t work anymore. I will try your last comment.
Thanks
Kayle
Thanks
Kayle