ATmega328 code to control WS2812B LEDs. Basically copied from the Adafruit library for the Arduino.