board/pba-d-01-kw2x: user button added

pr/gpio
Francisco Javier Acosta Padilla 7 years ago
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…
Cancel
Save