extended with the code from https://github.com/liliakai/neopixel/blob/master/neopixel.ino