Adapted for use with the NeoPixel library