mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-19 14:25:20 +03:00
Updates sonar so that it can be used together with ADC current meter
Check if ADC current meter is enabled in sonarInit() and change sonar pins to pwm 5 and 6 if it is. Same as when RX_PARALLEL is enabled.
This commit is contained in:
parent
6e8d081c45
commit
b83b9040f9
4 changed files with 10 additions and 9 deletions
|
@ -14,10 +14,10 @@ Currently the only supported sensor is the HCSR04 sensor.
|
|||
|
||||
### Naze/Flip32+
|
||||
|
||||
| Mode | Trigger | Echo | Inline 1k resistors |
|
||||
| ------------- | ------------- | ------------- | ------------------- |
|
||||
| Parallel PWM | PB8 / Motor 5 | PB9 / Motor 6 | NO (5v tolerant) |
|
||||
| PPM/Serial RX | PB0 / RC7 | PB1 / RC8 | YES (3.3v input) |
|
||||
| Mode | Trigger | Echo | Inline 1k resistors |
|
||||
| ------------------------------- | ------------- | ------------- | ------------------- |
|
||||
| Parallel PWM/ADC current sensor | PB8 / Motor 5 | PB9 / Motor 6 | NO (5v tolerant) |
|
||||
| PPM/Serial RX | PB0 / RC7 | PB1 / RC8 | YES (3.3v input) |
|
||||
|
||||
Current meter cannot be used in conjunction with Parallel PWM and Sonar.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue