Config for the Grove LED bar based on MY9221 LED controller. More...

Detailed Description

Config for the Grove LED bar based on MY9221 LED controller.

Author
Sebastian Meiling s@mln.nosp@m.g.ne.nosp@m.t

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"
+ Include dependency graph for grove_ledbar_params.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...
 

Macro Definition Documentation

◆ GROVE_LEDBAR_PARAMS

#define GROVE_LEDBAR_PARAMS
Value:
{ .leds = 10, \
.dir = GROVE_LEDBAR_DIR, \
.clk = GROVE_LEDBAR_CLK, \

Default parameter settings.

Definition at line 58 of file grove_ledbar_params.h.

Variable Documentation

◆ grove_ledbar_params

const grove_ledbar_params_t grove_ledbar_params[]
static
Initial value:

Grove LED bar configuration.

Definition at line 72 of file grove_ledbar_params.h.

◆ grove_ledbar_saul_info

const saul_reg_info_t grove_ledbar_saul_info[]
static
Initial value:

Additional meta information to keep in the SAUL registry.

Definition at line 80 of file grove_ledbar_params.h.

GROVE_LEDBAR_DAT
#define GROVE_LEDBAR_DAT
Data GPIO pin.
Definition: grove_ledbar_params.h:44
GROVE_LEDBAR_SAUL_INFO
#define GROVE_LEDBAR_SAUL_INFO
SAUL info.
Definition: grove_ledbar_params.h:67
GROVE_LEDBAR_CLK
#define GROVE_LEDBAR_CLK
Clock GPIO pin.
Definition: grove_ledbar_params.h:37
GROVE_LEDBAR_DIR
#define GROVE_LEDBAR_DIR
Direction of LEDs.
Definition: grove_ledbar_params.h:51
GROVE_LEDBAR_PARAMS
#define GROVE_LEDBAR_PARAMS
Default parameter settings.
Definition: grove_ledbar_params.h:58