From e540a52f29f7cb0eb8b5c306d611455204169f7b Mon Sep 17 00:00:00 2001 From: iabdalkader Date: Tue, 5 May 2015 13:29:53 +0300 Subject: [PATCH] Fix soft I2C pin mapping --- src/omv/soft_i2c.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/omv/soft_i2c.c b/src/omv/soft_i2c.c index bb1ae3d60..c0daf4b63 100644 --- a/src/omv/soft_i2c.c +++ b/src/omv/soft_i2c.c @@ -11,9 +11,9 @@ #include "soft_i2c.h" #include "mp.h" -#define I2C_PORT GPIOA -#define I2C_SIOC_PIN GPIO_PIN_2 -#define I2C_SIOD_PIN GPIO_PIN_3 +#define I2C_PORT GPIOB +#define I2C_SIOC_PIN GPIO_PIN_10 +#define I2C_SIOD_PIN GPIO_PIN_11 #define I2C_SIOC_H() HAL_GPIO_WritePin(I2C_PORT, I2C_SIOC_PIN, GPIO_PIN_SET) #define I2C_SIOC_L() HAL_GPIO_WritePin(I2C_PORT, I2C_SIOC_PIN, GPIO_PIN_RESET)