diff --git a/boards/adafruit-itsybitsy-nrf52/doc.txt b/boards/adafruit-itsybitsy-nrf52/doc.txt index ad9b4e45c5..0202585f80 100644 --- a/boards/adafruit-itsybitsy-nrf52/doc.txt +++ b/boards/adafruit-itsybitsy-nrf52/doc.txt @@ -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 - */ diff --git a/boards/adafruit-itsybitsy-nrf52/include/board.h b/boards/adafruit-itsybitsy-nrf52/include/board.h index 16d57fd795..07e62ae403 100644 --- a/boards/adafruit-itsybitsy-nrf52/include/board.h +++ b/boards/adafruit-itsybitsy-nrf52/include/board.h @@ -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 * @{