mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-27 14:53:35 +08:00
nxphlite-v3:GPIO_TRI set as output
This commit is contained in:
committed by
Daniel Agar
parent
d8513afcc0
commit
24edfbcbca
@@ -157,11 +157,12 @@ __BEGIN_DECLS
|
|||||||
|
|
||||||
|
|
||||||
/* P13 Ultrasonic Sensors
|
/* 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_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
|
/* Safety Switch
|
||||||
* TBD
|
* TBD
|
||||||
|
|||||||
Reference in New Issue
Block a user