Config for the Grove LED bar based on MY9221 LED controller. More...
Config for the Grove LED bar based on MY9221 LED controller.
Definition in file grove_ledbar_params.h.
#include "board.h"
#include "periph/gpio.h"
#include "saul_reg.h"
#include "grove_ledbar.h"
#include "my9221.h"
Go to the source code of this file.
#define | GROVE_LEDBAR_CLK (GPIO_PIN(0,1)) |
Clock GPIO pin. | |
#define | GROVE_LEDBAR_DAT (GPIO_PIN(0,2)) |
Data GPIO pin. | |
#define | GROVE_LEDBAR_DIR GROVE_LEDBAR_G2R |
Direction of LEDs. | |
#define | GROVE_LEDBAR_PARAMS |
Default parameter settings. More... | |
#define | GROVE_LEDBAR_SAUL_INFO { .name = "Grove LED bar" } |
SAUL info. | |
static const grove_ledbar_params_t | grove_ledbar_params [] |
Grove LED bar configuration. More... | |
static const saul_reg_info_t | grove_ledbar_saul_info [] |
Additional meta information to keep in the SAUL registry. More... | |
#define GROVE_LEDBAR_PARAMS |
Default parameter settings.
Definition at line 58 of file grove_ledbar_params.h.
|
static |
Grove LED bar configuration.
Definition at line 72 of file grove_ledbar_params.h.
|
static |
Additional meta information to keep in the SAUL registry.
Definition at line 80 of file grove_ledbar_params.h.