mirror of https://github.com/ARMmbed/mbed-os.git
Add definition of User button(SW0 and SW1)
Add definition of User button for users.pull/762/head
parent
4473a517a8
commit
e2a8d32343
|
|
@ -97,6 +97,9 @@ typedef enum {
|
||||||
I2C_SCL = D15,
|
I2C_SCL = D15,
|
||||||
I2C_SDA = D14,
|
I2C_SDA = D14,
|
||||||
|
|
||||||
|
USER_BUTTON0 = P6_0,
|
||||||
|
USER_BUTTON1 = P6_1,
|
||||||
|
|
||||||
// Not connected
|
// Not connected
|
||||||
NC = (int)0xFFFFFFFF
|
NC = (int)0xFFFFFFFF
|
||||||
} PinName;
|
} PinName;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue