mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-25 22:43:50 +01:00
board/pba-d-01-kw2x: user button added
This commit is contained in:
parent
979a34b6ae
commit
a47bda5302
@ -71,6 +71,15 @@ extern "C"
|
||||
#define LED_RED_TOGGLE LED_R_TOGGLE
|
||||
/** @} */
|
||||
|
||||
/**
|
||||
* @name Macro for button S1/S2.
|
||||
* @{
|
||||
*/
|
||||
#define BUTTON_PORT PORTD
|
||||
#define BUTTON_PIN 1
|
||||
#define BUTTON_GPIO GPIO_PIN(PORT_D, BUTTON_PIN)
|
||||
/** @} */
|
||||
|
||||
/**
|
||||
@name KW2XRF configuration
|
||||
@{
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user