How to connect Neopixels to a PITB V2.0

Overview

The PITB V2.0 has support for connecting Neopixels using the header called “rgbled” (GPIO26).

Wiring

Neopixels can be wired to the PITB V2.0 as shown on the pinout.

Configuration

The Neopixels should be configured in config.g using M950 as detailed here.
For example, using the default toolboard address of 124 with RGBW Neopixels

M950 C"124.rgbled" E0 T2

M150 can then be used to set the colours and brightness.
For example, the below example will set 3 RGBw neopixels to white.

M150 E0 R0 B0 U0 W255 S3 F0
Tags: