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
Important: The changes shown below that are to be made to config.g assume that the PITB V2.0 uses the default CAN address of 124. If you have changed the default CAN address, make sure you change the 124 to the correct address.
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