mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
nxphlite-v3:GPIO_TRI set as output
This commit is contained in:
parent
d8513afcc0
commit
24edfbcbca
@ -157,11 +157,12 @@ __BEGIN_DECLS
|
||||
|
||||
|
||||
/* P13 Ultrasonic Sensors
|
||||
* This is used as IIC ad booted with theses as inputs
|
||||
* GPIO to driver the the Trigger and sample the response on Echo
|
||||
* It would be gbetter to have Echo on a timer capture pin.
|
||||
*/
|
||||
|
||||
#define GPIO_ECH (GPIO_PULLUP | PIN_PORTB | PIN2)
|
||||
#define GPIO_TRI (GPIO_PULLUP | PIN_PORTB | PIN3)
|
||||
#define GPIO_TRI (GPIO_HIGHDRIVE | GPIO_OUTPUT_ZER0 | PIN_PORTB | PIN3)
|
||||
|
||||
/* Safety Switch
|
||||
* TBD
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user