Moved buzzer to Out6
Removed PWM12 (Out6) from pwm_mapping Updated documentation
This commit is contained in:
parent
55180070d6
commit
a2743f50e9
|
@ -38,7 +38,7 @@ The 6 pin RC_Output connector has the following pinouts when used in RX_PPM/RX_S
|
|||
| 3 | MOTOR 3 | |
|
||||
| 4 | MOTOR 4 | |
|
||||
| 5 | LED Strip | |
|
||||
| 6 | Unused | |
|
||||
| 6 | Buzzer | |
|
||||
|
||||
The 8 pin RC_Input connector has the following pinouts when used in RX_PARALLEL_PWM mode
|
||||
|
||||
|
|
|
@ -56,8 +56,4 @@ Connect a supported buzzer directly to the BUZZ pins. Observe polarity. Also if
|
|||
|
||||
### CC3D
|
||||
|
||||
Buzzer support on the CC3D requires that a buzzer circuit be created to which the input is PA15.
|
||||
PA15 is unused and not connected according to the CC3D Revision A schematic.
|
||||
Connecting to PA15 requires careful soldering.
|
||||
|
||||
See the [CC3D - buzzer circuit.pdf](Wiring/CC3D - buzzer circuit.pdf) for details.
|
||||
Connect a supported buzzer to the '-' and 'Sig' of Pin 6 on RC_Output connector. Observe polarity. Please note that RC_Output can provide no more than 25mA current, so you should use a buzzer with rated current of no more than 25mA or use a buzzer with additional driver circuit like this one [Active Buzzer module on eBay](http://www.ebay.com/itm/221686970259)
|
||||
|
|
|
@ -151,7 +151,7 @@ static const uint16_t multiPPM[] = {
|
|||
PWM9 | (MAP_TO_MOTOR_OUTPUT << 8),
|
||||
PWM10 | (MAP_TO_MOTOR_OUTPUT << 8),
|
||||
PWM11 | (MAP_TO_MOTOR_OUTPUT << 8),
|
||||
PWM12 | (MAP_TO_MOTOR_OUTPUT << 8),
|
||||
//PWM12 | (MAP_TO_MOTOR_OUTPUT << 8),
|
||||
PWM2 | (MAP_TO_MOTOR_OUTPUT << 8), // Swap to servo if needed
|
||||
PWM3 | (MAP_TO_MOTOR_OUTPUT << 8), // Swap to servo if needed
|
||||
PWM4 | (MAP_TO_MOTOR_OUTPUT << 8), // Swap to servo if needed
|
||||
|
@ -171,7 +171,7 @@ static const uint16_t multiPWM[] = {
|
|||
PWM9 | (MAP_TO_MOTOR_OUTPUT << 8), // motor #1 or #3
|
||||
PWM10 | (MAP_TO_MOTOR_OUTPUT << 8),
|
||||
PWM11 | (MAP_TO_MOTOR_OUTPUT << 8),
|
||||
PWM12 | (MAP_TO_MOTOR_OUTPUT << 8), // motor #4 or #6
|
||||
//PWM12 | (MAP_TO_MOTOR_OUTPUT << 8), // motor #4 or #6
|
||||
0xFFFF
|
||||
};
|
||||
|
||||
|
@ -182,7 +182,7 @@ static const uint16_t airPPM[] = {
|
|||
PWM9 | (MAP_TO_SERVO_OUTPUT << 8),
|
||||
PWM10 | (MAP_TO_SERVO_OUTPUT << 8),
|
||||
PWM11 | (MAP_TO_SERVO_OUTPUT << 8),
|
||||
PWM12 | (MAP_TO_SERVO_OUTPUT << 8),
|
||||
//PWM12 | (MAP_TO_SERVO_OUTPUT << 8),
|
||||
PWM2 | (MAP_TO_SERVO_OUTPUT << 8),
|
||||
PWM3 | (MAP_TO_SERVO_OUTPUT << 8),
|
||||
PWM4 | (MAP_TO_SERVO_OUTPUT << 8),
|
||||
|
@ -203,7 +203,7 @@ static const uint16_t airPWM[] = {
|
|||
PWM9 | (MAP_TO_SERVO_OUTPUT << 8), // servo #1
|
||||
PWM10 | (MAP_TO_SERVO_OUTPUT << 8), // servo #2
|
||||
PWM11 | (MAP_TO_SERVO_OUTPUT << 8), // servo #3
|
||||
PWM12 | (MAP_TO_SERVO_OUTPUT << 8), // servo #4
|
||||
//PWM12 | (MAP_TO_SERVO_OUTPUT << 8), // servo #4
|
||||
0xFFFF
|
||||
};
|
||||
#endif
|
||||
|
|
|
@ -28,7 +28,7 @@
|
|||
#define INVERTER_USART USART1
|
||||
|
||||
#define BEEP_GPIO GPIOA
|
||||
#define BEEP_PIN Pin_15 // PA15 (Beeper)
|
||||
#define BEEP_PIN Pin_2 // PA2 (Beeper)
|
||||
#define BEEP_PERIPHERAL RCC_APB2Periph_GPIOA
|
||||
|
||||
#define MPU6000_CS_GPIO GPIOA
|
||||
|
|
Loading…
Reference in New Issue