From 24edfbcbcae33ed6fba08c812c114aa1f0063aa7 Mon Sep 17 00:00:00 2001 From: David Sidrane Date: Tue, 9 May 2017 19:21:42 -1000 Subject: [PATCH] nxphlite-v3:GPIO_TRI set as output --- src/drivers/boards/nxphlite-v3/board_config.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/drivers/boards/nxphlite-v3/board_config.h b/src/drivers/boards/nxphlite-v3/board_config.h index 5820f32517..4142730430 100644 --- a/src/drivers/boards/nxphlite-v3/board_config.h +++ b/src/drivers/boards/nxphlite-v3/board_config.h @@ -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