Skip to content

Commit

Permalink
fix(wb55): remove IO Expanders pins definition
Browse files Browse the repository at this point in the history
  • Loading branch information
nedseb committed Oct 3, 2024
1 parent 19be215 commit 0847b47
Showing 1 changed file with 13 additions and 12 deletions.
25 changes: 13 additions & 12 deletions variants/STM32WBxx/WB55R(C-E-G)V/variant_STEAM32_WB55RG.h
Original file line number Diff line number Diff line change
Expand Up @@ -70,16 +70,16 @@
// GPIO expander
// Not used by Arduino only here for documentation purpose
// Upper pad
#define GPIO1 44 // P28
#define GPIO2 45 // P29
#define GPIO3 46 // P24
#define GPIO4 47 // P25
// GPIO1 --> P28
// GPIO2 --> P29
// GPIO3 --> P24
// GPIO4 --> P25

// 4 directions switches
#define GPIO5 48
#define GPIO6 49
#define GPIO7 50
#define GPIO8 51
// GPIO5
// GPIO6
// GPIO7
// GPIO8

// STeaMi's PinName
#define ACTIVATE_3V3_STLINK PB2
Expand Down Expand Up @@ -157,11 +157,12 @@
// On-board user button
#define A_BUTTON PA7
#define B_BUTTON PA8
#define DOWN_BUTTON GPIO6
#define LEFT_BUTTON GPIO7
#define MENU_BUTTON PA0
#define RIGHT_BUTTON GPIO5
#define UP_BUTTON GPIO8

// DOWN_BUTTON --> GPIO6
// LEFT_BUTTON --> GPIO7
// RIGHT_BUTTON --> GPIO5
// UP_BUTTON --> GPIO8

#ifndef USER_BTN
#define USER_BTN MENU_BUTTON
Expand Down

0 comments on commit 0847b47

Please sign in to comment.