Skip to content

Commit e0eefae

Browse files
Modifiying file PinNames.h
1 parent a4738fa commit e0eefae

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

targets/TARGET_TT/TARGET_TT_M3HQ/PinNames.h

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,10 @@ typedef enum {
102102
MBEDIF_RXD = USBRX,
103103

104104
// Switches
105-
SW2 = PV3,
105+
SW1 = PP6, //DIP switch J7_1
106+
SW2 = PP7, //DIP switch J7_2
107+
SW3 = (int)0xFFFFFFFF, //Reset Button
108+
SW4 = PV3, //Push button S2
106109
USER_BUTTON = PV3,
107110

108111
// I2C pins

targets/TARGET_TT/TARGET_TT_M4G9/PinNames.h

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,10 @@ typedef enum {
101101
MBED_CONF_APP_UART0_RX = PE2,
102102

103103
// Switches
104-
SW2 = PL4,
104+
SW1 = (int)0xFFFFFFFF, //Reset Button
105+
SW2 = PL4, //Push button S2
106+
SW3 = PM0, //DIP switch J7_1
107+
SW4 = PM1, //DIP switch J7_2
105108
USER_BUTTON = PL4,
106109

107110
// I2C pins

0 commit comments

Comments
 (0)