46 .name =
"Joystick (Center)",
51 .name =
"Joystick (Left)",
56 .name =
"Joystick (Down)",
61 .name =
"Joystick (Right)",
66 .name =
"Joystick (Up)",
static const saul_gpio_params_t saul_gpio_params[]
LED configuration.
#define BTN1_MODE
Button B mode.
#define BTN1_PIN
Button B pin.
#define LED1_PIN
TX LED yellow.
#define BTN2_PIN
Button 2 pin
#define BTN2_MODE
Button 2 mode
@ GPIO_OUT
select GPIO MASK as output
Parameter definitions for mapping peripherals directly to SAUL.
@ SAUL_GPIO_INIT_CLEAR
set pin inactive after init
@ SAUL_GPIO_INVERTED
pin is used as inverted
Direct mapped GPIO configuration values.
const char * name
name of the device connected to this pin
Board specific definitions for the Zigduino board.