mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
boards/feather-nrf52840-sense: Expose saul ws281x
This commit is contained in:
parent
0a96e36fb5
commit
8a15b8c5a1
@ -5,6 +5,7 @@ ifneq (,$(filter saul_default,$(USEMODULE)))
|
||||
USEMODULE += lsm6dsxx
|
||||
USEMODULE += saul_gpio
|
||||
USEMODULE += sht3x
|
||||
USEMODULE += ws281x
|
||||
endif
|
||||
|
||||
# include common nrf52 dependencies
|
||||
|
@ -97,6 +97,9 @@ extern "C" {
|
||||
#ifndef WS281X_PARAM_PIN
|
||||
#define WS281X_PARAM_PIN GPIO_PIN(0, 16) /**< GPIO pin connected to the data pin of the first LED */
|
||||
#endif
|
||||
#ifndef WS281X_PARAM_NUMOF
|
||||
#define WS281X_PARAM_NUMOF (1U) /**< Number of LEDs chained */
|
||||
#endif
|
||||
/** @} */
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
Loading…
Reference in New Issue
Block a user