1
0
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:
MrKevinWeiss 2024-04-09 15:39:30 +02:00
parent 0a96e36fb5
commit 8a15b8c5a1
No known key found for this signature in database
GPG Key ID: C26684F1C0767FFF
2 changed files with 4 additions and 0 deletions

View File

@ -5,6 +5,7 @@ ifneq (,$(filter saul_default,$(USEMODULE)))
USEMODULE += lsm6dsxx
USEMODULE += saul_gpio
USEMODULE += sht3x
USEMODULE += ws281x
endif
# include common nrf52 dependencies

View File

@ -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