Skip to content

Commit

Permalink
pinouts are swapped for TTGO-Lora32 V1 and V2 boards.
Browse files Browse the repository at this point in the history
 discovered by eriktheV-king in discourse
  • Loading branch information
BeardyWalrus authored Apr 10, 2020
1 parent 2d6b932 commit 3754950
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/configuration.h
Original file line number Diff line number Diff line change
Expand Up @@ -166,8 +166,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
// This string must exactly match the case used in release file names or the android updater won't work
#define HW_VENDOR "ttgo-lora32-v1"

#define I2C_SDA 21 // I2C pins for this board
#define I2C_SCL 22
#define I2C_SDA 4 // I2C pins for this board
#define I2C_SCL 15

#define RESET_OLED 16 // If defined, this pin will be used to reset the display controller

Expand All @@ -183,8 +183,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
// This string must exactly match the case used in release file names or the android updater won't work
#define HW_VENDOR "ttgo-lora32-v2"

#define I2C_SDA 4 // I2C pins for this board
#define I2C_SCL 15
#define I2C_SDA 21 // I2C pins for this board
#define I2C_SCL 22

#define RESET_OLED 16 // If defined, this pin will be used to reset the display controller

Expand Down

0 comments on commit 3754950

Please sign in to comment.