/Grove-NeoPixel-Multiboard

Arduino Grove NeoPixel Multiboard (4x NeoPixel)

Primary LanguageC++MIT LicenseMIT

Grove-NeoPixel-Multiboard

General Infos

Arduino Grove NeoPixel Multiboard (4x NeoPixel)

Hardware Image

Hardwareaufbau

Tip

You need a external power supply for a higher quantity of neoPixel

Code for handling 4 different digital Pins for NeoPixel Control

Used the source from adafruit.com

Main Definition

Adafruit_NeoPixel stripNeoPixel0 = Adafruit_NeoPixel(NUM_NEO_PIXEL0, NEOPIN0, NEO_RGB  + NEO_KHZ800); // 10er
Adafruit_NeoPixel stripNeoPixel1 = Adafruit_NeoPixel(NUM_NEO_PIXEL1, NEOPIN1, NEO_RGB  + NEO_KHZ800); // stripe
Adafruit_NeoPixel stripNeoPixel2 = Adafruit_NeoPixel(NUM_NEO_PIXEL2, NEOPIN2, NEO_RGB  + NEO_KHZ800); // flower - 20er Ring
Adafruit_NeoPixel stripNeoPixel3 = Adafruit_NeoPixel(NUM_NEO_PIXEL3, NEOPIN3, NEO_RGB  + NEO_KHZ800); // button strand single

Usage for ALL NeoPixel

int neoPixelAll() {
  int counter = 0;
  for(int i=0; i<NUMSTRIPS; i++)
    counter += stripArray[i].numPixels(); 
  return counter;
}

Grove Hardware

Used Hardware:

STL Grove Holder with "Lego connectors"

STL 3D Printfiles

Tip

Use a woodbase for fixing the printed grove holder