Merge pull request #10674 from ThunderSoft123/master

TARGET_TT: adding switches to PinNames
pull/10739/head
Martin Kojtal 2019-05-31 12:35:10 +01:00 committed by GitHub
commit 8aeba87f25
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 2 deletions

View File

@ -102,7 +102,10 @@ typedef enum {
MBEDIF_RXD = USBRX,
// Switches
SW2 = PV3,
SW1 = PP6, //DIP switch J7_1
SW2 = PP7, //DIP switch J7_2
SW3 = (int)0xFFFFFFFF, //Reset Button
SW4 = PV3, //Push button S2
USER_BUTTON = PV3,
// I2C pins

View File

@ -101,7 +101,10 @@ typedef enum {
MBED_CONF_APP_UART0_RX = PE2,
// Switches
SW2 = PL4,
SW1 = (int)0xFFFFFFFF, //Reset Button
SW2 = PL4, //Push button S2
SW3 = PM0, //DIP switch J7_1
SW4 = PM1, //DIP switch J7_2
USER_BUTTON = PL4,
// I2C pins