Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit0847b47

Browse files
committed
fix(wb55): remove IO Expanders pins definition
1 parent19be215 commit0847b47

File tree

1 file changed

+13
-12
lines changed

1 file changed

+13
-12
lines changed

‎variants/STM32WBxx/WB55R(C-E-G)V/variant_STEAM32_WB55RG.h

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -70,16 +70,16 @@
7070
// GPIO expander
7171
// Not used by Arduino only here for documentation purpose
7272
// Upper pad
73-
#defineGPIO1 44 // P28
74-
#defineGPIO2 45 // P29
75-
#defineGPIO3 46 // P24
76-
#defineGPIO4 47 // P25
73+
// GPIO1--> P28
74+
// GPIO2--> P29
75+
// GPIO3--> P24
76+
// GPIO4--> P25
7777

7878
// 4 directions switches
79-
#defineGPIO5 48
80-
#defineGPIO6 49
81-
#defineGPIO7 50
82-
#defineGPIO8 51
79+
// GPIO5
80+
// GPIO6
81+
// GPIO7
82+
// GPIO8
8383

8484
// STeaMi's PinName
8585
#defineACTIVATE_3V3_STLINK PB2
@@ -157,11 +157,12 @@
157157
// On-board user button
158158
#defineA_BUTTON PA7
159159
#defineB_BUTTON PA8
160-
#defineDOWN_BUTTON GPIO6
161-
#defineLEFT_BUTTON GPIO7
162160
#defineMENU_BUTTON PA0
163-
#defineRIGHT_BUTTON GPIO5
164-
#defineUP_BUTTON GPIO8
161+
162+
// DOWN_BUTTON --> GPIO6
163+
// LEFT_BUTTON --> GPIO7
164+
// RIGHT_BUTTON --> GPIO5
165+
// UP_BUTTON --> GPIO8
165166

166167
#ifndefUSER_BTN
167168
#defineUSER_BTN MENU_BUTTON

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp