https://mcuoneclipse.com/2015/08/03/tutorial-adafruit-ws2812b-neopixels-with-the-freescale-frdm-k64f-board-part-3-concepts/
Tutorial: Adafruit WS2812B NeoPixels with the Freescale FRDM-K64F Board - Part 3: Concepts