mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-23 16:25:31 +03:00
CC3D / NAZE - Adding support for hardware controlled inverter for use by
SBUS RX.
This commit is contained in:
parent
f08760634e
commit
4d9a672d9c
8 changed files with 103 additions and 1 deletions
|
@ -20,8 +20,14 @@
|
|||
#define LED0_PERIPHERAL RCC_APB2Periph_GPIOB
|
||||
#define LED0
|
||||
|
||||
#define INVERTER_PIN Pin_2 // PB2 (BOOT1) used as inverter select GPIO
|
||||
#define INVERTER_GPIO GPIOB
|
||||
#define INVERTER_PERIPHERAL RCC_APB2Periph_GPIOB
|
||||
#define INVERTER_USART USART1
|
||||
|
||||
#define ACC
|
||||
#define GYRO
|
||||
#define INVERTER
|
||||
|
||||
// #define SOFT_I2C // enable to test software i2c
|
||||
// #define SOFT_I2C_PB1011 // If SOFT_I2C is enabled above, need to define pinout as well (I2C1 = PB67, I2C2 = PB1011)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue