mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
boards/adafruit-itsybitsy-nrf52: Add configuration for DotStar LED
This commit is contained in:
parent
e2c41e7a63
commit
a712d29dc8
@ -7,7 +7,7 @@
|
||||
|
||||
This is a small formfactor (only 1.4" long by 0.7" wide) nRF52840 board made by Adafruit.
|
||||
|
||||
The board features one LED (LD1: blue), a user (SW1) and a
|
||||
The board features one red LED (LD1), one DotStar / APA102 RGB LED, a user (SW1), a
|
||||
reset button as well as 21 configurable external pins(6 of which can be analog in).
|
||||
|
||||
### Links
|
||||
@ -42,9 +42,4 @@ you may need to run `pip3 install --upgrade pip3` before being able to run `pip3
|
||||
|
||||
The usual way to obtain a console on this board is using an emulated USB serial port.
|
||||
|
||||
|
||||
### Todo
|
||||
|
||||
Add support for the mini DotStar RGB LED
|
||||
|
||||
*/
|
||||
|
@ -50,6 +50,15 @@ extern "C" {
|
||||
|
||||
/** @} */
|
||||
|
||||
/**
|
||||
* @name APA102 / DotStar configuration
|
||||
* @{
|
||||
*/
|
||||
#define APA102_PARAM_LED_NUMOF (1)
|
||||
#define APA102_PARAM_DATA_PIN GPIO_PIN(0, 8)
|
||||
#define APA102_PARAM_CLK_PIN GPIO_PIN(1, 9)
|
||||
/** @} */
|
||||
|
||||
/**
|
||||
* @name Button pin configuration
|
||||
* @{
|
||||
|
Loading…
Reference in New Issue
Block a user