Skip to content
Snippets Groups Projects

WS2812 module (aka neopixel)

Merged danb requested to merge danb/firmware:ws2812_module_work into master
Files
11
+ 2
1
@@ -2,12 +2,13 @@
#include "gpio.h"
#include "max32665.h"
#include "mxc_errors.h"
#include "modules/gpio_common.h"
/*
* Despite what the schematic (currently, 2019-08-18) says these are the correct
* pins for wristband GPIO 1-4 (not 0-3 as the schematic states)
*/
static gpio_cfg_t gpio_configs[] = {
gpio_cfg_t gpio_configs[] = {
[EPIC_GPIO_WRISTBAND_1] = { PORT_0,
PIN_21,
GPIO_FUNC_OUT,
Loading